aboutsummaryrefslogtreecommitdiff
path: root/test/structs.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-09-21 18:06:39 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-09-21 18:06:39 -0400
commitc0d0299b0f72b43c1f125c2e5319e4dce3e4c171 (patch)
tree6682afdac4af8ceb1b71764724b16b9e7d465264 /test/structs.tm
parent0892ceda93fdc8f29baae3549b555d9519bfe523 (diff)
Fix tests
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 05349068..1768cf71 100644
--- a/test/structs.tm
+++ b/test/structs.tm
@@ -25,7 +25,7 @@ func test_metamethods()
assert x != Pair(10, 30)
assert x < Pair(11, 20)
- >> set := {x=yes}
+ >> set := {x: yes}
assert set.has(x) == yes
assert set.has(y) == no
@@ -36,7 +36,7 @@ func test_mixed()
assert x == Mixed(10, "Hello")
assert x != Mixed(10, "Bye")
assert x < Mixed(11, "Hello")
- >> set := {x=yes}
+ >> set := {x: yes}
assert set.has(x) == yes
assert set.has(y) == no