aboutsummaryrefslogtreecommitdiff
path: root/test/optionals.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-07-11 16:05:54 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-07-11 16:05:54 -0400
commit4153c0af9d4dcc43c0a67cc446a313c46ee5ac33 (patch)
tree246154cdf41f487f6d2da2c6b6df5aba50531ab6 /test/optionals.tm
parenta51d48201b5245dc2cc2bfb00e0ac8e7b52203d9 (diff)
parent46b0dbc5a448249ddc9a6ce20465f0fa41de6d64 (diff)
Merge branch 'main' into decimalsdecimals
Diffstat (limited to 'test/optionals.tm')
-rw-r--r--test/optionals.tm6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/optionals.tm b/test/optionals.tm
index 8e075855..7bdd2fd1 100644
--- a/test/optionals.tm
+++ b/test/optionals.tm
@@ -241,10 +241,8 @@ func main()
= 123
# Test comparisons, hashing, equality:
- >> (none == 5?)
- = no
- >> (5? == 5?)
- = yes
+ assert none != 5?
+ assert 5? == 5?
>> nones : |Int?| = |none, none|
>> also_nones : |Int?| = |none|
>> nones == also_nones