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/functions.tm | |
| parent | 4834f3355d3b0355cb6ff7774d18e86ca0f5e38e (diff) | |
Use `assert` more in tests to give better error messages
Diffstat (limited to 'test/functions.tm')
| -rw-r--r-- | test/functions.tm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/functions.tm b/test/functions.tm index 17ca1e85..7ceca977 100644 --- a/test/functions.tm +++ b/test/functions.tm @@ -8,8 +8,6 @@ func main() >> add(3, 5) = 8 - >> cached_heap(1) == cached_heap(1) - = yes - >> cached_heap(1) == cached_heap(2) - = no + assert cached_heap(1) == cached_heap(1) + assert cached_heap(1) != cached_heap(2) |
