aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/structs.tm2
-rw-r--r--test/tables.tm4
2 files changed, 3 insertions, 3 deletions
diff --git a/test/structs.tm b/test/structs.tm
index 840ee847..ad8e7ad6 100644
--- a/test/structs.tm
+++ b/test/structs.tm
@@ -1,7 +1,7 @@
struct Pair(x,y:Int)
struct Mixed(x:Int, text:Text)
-struct LinkedList(x:Int, next=!LinkedList)
+struct LinkedList(x:Int, next=!@LinkedList)
struct Password(text:Text; secret)
func test_literals():
diff --git a/test/tables.tm b/test/tables.tm
index 8609e522..4c61bb77 100644
--- a/test/tables.tm
+++ b/test/tables.tm
@@ -18,7 +18,7 @@ func main():
>> #t
= 2
>> t.default
- = ?%999
+ = @%999?
>> t.fallback
= !{Text:Int}
@@ -42,7 +42,7 @@ func main():
>> t2.default
= !Int
>> t2.fallback
- = ?%{"one":1, "two":2; default=999}
+ = @%{"one":1, "two":2; default=999}?
t2_str := ""
for k,v in t2: