aboutsummaryrefslogtreecommitdiff
path: root/test/structs.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-04-06 16:34:23 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-04-06 16:34:23 -0400
commit52e50e58c6674560056a4dcb787099d739284b02 (patch)
treee814b9d779e523c042f938161aadd7dd589327cf /test/structs.tm
parent6fda59fd5e57e9267d2ec0480d53b5f9b0546855 (diff)
Change Set syntax from {x} to |x|
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)