From 46b0dbc5a448249ddc9a6ce20465f0fa41de6d64 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 11 Jul 2025 16:05:30 -0400 Subject: Use `assert` more in tests to give better error messages --- test/optionals.tm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'test/optionals.tm') 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 -- cgit v1.2.3