aboutsummaryrefslogtreecommitdiff
path: root/test/optionals.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-09-21 15:43:59 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-09-21 15:43:59 -0400
commit71f73d8b3ce63f9a3685bc1a1686ef4fab3294a6 (patch)
tree99fe1309fa4d24609867dcc62859caed909a76d9 /test/optionals.tm
parentf5612e38183dc20d18f207f8ab055574a4d93ad0 (diff)
Deprecate sets
Diffstat (limited to 'test/optionals.tm')
-rw-r--r--test/optionals.tm6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/optionals.tm b/test/optionals.tm
index 7bdd2fd1..1f7d640e 100644
--- a/test/optionals.tm
+++ b/test/optionals.tm
@@ -243,9 +243,9 @@ func main()
# Test comparisons, hashing, equality:
assert none != 5?
assert 5? == 5?
- >> nones : |Int?| = |none, none|
- >> also_nones : |Int?| = |none|
- >> nones == also_nones
+ >> nones : {Int?=Bool} = {none=yes, none=yes}
+ >> nones.keys
+ = [none]
>> [5?, none, none, 6?].sorted()
= [none, none, 5, 6]