diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-07-11 16:05:30 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-07-11 16:05:30 -0400 |
| commit | 46b0dbc5a448249ddc9a6ce20465f0fa41de6d64 (patch) | |
| tree | a353513c1fdb95baa2d225fa50972be3c9d11d4e /test/optionals.tm | |
| parent | 4834f3355d3b0355cb6ff7774d18e86ca0f5e38e (diff) | |
Use `assert` more in tests to give better error messages
Diffstat (limited to 'test/optionals.tm')
| -rw-r--r-- | test/optionals.tm | 6 |
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 |
