diff options
Diffstat (limited to 'test/structs.tm')
| -rw-r--r-- | test/structs.tm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/structs.tm b/test/structs.tm index 40c1b566..2440911b 100644 --- a/test/structs.tm +++ b/test/structs.tm @@ -27,7 +27,7 @@ func test_metamethods() assert x != Pair(10, 30) assert x < Pair(11, 20) - >> set := |x| + >> set := {x=yes} >> set.has(x) = yes >> set.has(y) @@ -41,7 +41,7 @@ func test_mixed() assert x == Mixed(10, "Hello") assert x != Mixed(10, "Bye") assert x < Mixed(11, "Hello") - >> set := |x| + >> set := {x=yes} >> set.has(x) = yes >> set.has(y) |
