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