aboutsummaryrefslogtreecommitdiff
path: root/test/structs.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-04-06 16:36:40 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-04-06 16:36:40 -0400
commit6d12f1dce744146dfa9072d574c540e1d49bb31b (patch)
tree4ffc721508ba25a6f125147873446365820dd0ff /test/structs.tm
parent2640c138b305b558bccf1d36f3f0d54fab96e84c (diff)
parent52e50e58c6674560056a4dcb787099d739284b02 (diff)
Merge branch 'main' into no-colons
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 f1ae49d0..c340f1c9 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)