diff options
Diffstat (limited to 'test/optionals.tm')
| -rw-r--r-- | test/optionals.tm | 6 |
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] |
