aboutsummaryrefslogtreecommitdiff
path: root/test/tables.tm
diff options
context:
space:
mode:
Diffstat (limited to 'test/tables.tm')
-rw-r--r--test/tables.tm12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/tables.tm b/test/tables.tm
index 2254a7a0..1f4244f9 100644
--- a/test/tables.tm
+++ b/test/tables.tm
@@ -59,8 +59,8 @@ func main()
>> t3 := @{1=10, 2=20, 3=30}
>> t3.remove(3)
- >> t3
- = @{1=10, 2=20}
+ >> t3[]
+ = {1=10, 2=20}
do
>> plain := {1=10, 2=20, 3=30}
@@ -85,8 +85,8 @@ func main()
>> t4 := &{"one"= 1}
>> t4["one"] = 999
>> t4["two"] = 222
- >> t4
- = &{"one"=999, "two"=222}
+ >> t4[]
+ = {"one"=999, "two"=222}
do
assert {1=1, 2=2} == {2=2, 1=1}
@@ -114,5 +114,5 @@ func main()
>> counter["y"] += 1
>> counter
- >> counter
- = &{"x"=10, "y"=1; default=0}
+ >> counter[]
+ = {"x"=10, "y"=1; default=0}