write_file

This commit is contained in:
IgorCielniak
2025-12-18 11:32:35 +01:00
parent 6efd7c4e19
commit 50451840b7
32 changed files with 3064 additions and 24 deletions

View File

@@ -30,7 +30,7 @@ CASES: List[TestCase] = [
TestCase(
name="call_syntax_parens",
source=f"""
import {ROOT / 'stdlib.sl'}
import {ROOT / 'stdlib/stdlib.sl'}
import {ROOT / 'fn.sl'}
: main
@@ -51,7 +51,7 @@ fn foo(int a, int b){{
TestCase(
name="loops_and_cmp",
source=f"""
import {ROOT / 'stdlib.sl'}
import {ROOT / 'stdlib/stdlib.sl'}
: main
0
@@ -69,7 +69,7 @@ import {ROOT / 'stdlib.sl'}
TestCase(
name="override_dup_compile_time",
source=f"""
import {ROOT / 'stdlib.sl'}
import {ROOT / 'stdlib/stdlib.sl'}
: dup
6
@@ -102,7 +102,7 @@ compile-only
TestCase(
name="string_puts",
source=f"""
import {ROOT / 'stdlib.sl'}
import {ROOT / 'stdlib/stdlib.sl'}
: main
\"hello world\" puts