aboutsummaryrefslogtreecommitdiff
path: root/test/structs.tm
diff options
context:
space:
mode:
Diffstat (limited to 'test/structs.tm')
-rw-r--r--test/structs.tm4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/structs.tm b/test/structs.tm
index cf7b6a1c..2b1ff910 100644
--- a/test/structs.tm
+++ b/test/structs.tm
@@ -32,7 +32,7 @@ func test_metamethods():
>> x < Pair(11, 20)
= yes
- >> set := {x}
+ >> set := |x|
>> set.has(x)
= yes
>> set.has(y)
@@ -49,7 +49,7 @@ func test_mixed():
= no
>> x < Mixed(11, "Hello")
= yes
- >> set := {x}
+ >> set := |x|
>> set.has(x)
= yes
>> set.has(y)