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/tables.tm | |
| parent | 4834f3355d3b0355cb6ff7774d18e86ca0f5e38e (diff) | |
Use `assert` more in tests to give better error messages
Diffstat (limited to 'test/tables.tm')
| -rw-r--r-- | test/tables.tm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/tables.tm b/test/tables.tm index 9419d875..2254a7a0 100644 --- a/test/tables.tm +++ b/test/tables.tm @@ -89,10 +89,8 @@ func main() = &{"one"=999, "two"=222} do - >> {1=1, 2=2} == {2=2, 1=1} - = yes - >> {1=1, 2=2} == {1=1, 2=999} - = no + assert {1=1, 2=2} == {2=2, 1=1} + assert {1=1, 2=2} != {1=1, 2=999} >> {1=1, 2=2} <> {2=2, 1=1} = Int32(0) |
