aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/io.amal2
-rw-r--r--tests/main.amal6
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/io.amal b/tests/io.amal
index c75fa2d..bb7935b 100644
--- a/tests/io.amal
+++ b/tests/io.amal
@@ -1,3 +1,3 @@
-const puts = () {
+const puts = fn {
} \ No newline at end of file
diff --git a/tests/main.amal b/tests/main.amal
index 68ddc47..955806f 100644
--- a/tests/main.amal
+++ b/tests/main.amal
@@ -1,13 +1,13 @@
const io = @import("tests/io.amal")
-const main = () {
- var hello = () {
+const main = fn {
+ var hello = fn {
}
const value = "hello"
print(value, "world", 356)
}
-const print = () {
+const print = fn {
}