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/enums.tm | |
| parent | 4834f3355d3b0355cb6ff7774d18e86ca0f5e38e (diff) | |
Use `assert` more in tests to give better error messages
Diffstat (limited to 'test/enums.tm')
| -rw-r--r-- | test/enums.tm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/enums.tm b/test/enums.tm index 901298a8..080e5d97 100644 --- a/test/enums.tm +++ b/test/enums.tm @@ -29,8 +29,7 @@ func main() >> one.Two = no - >> Foo.One(10) == Foo.One(10) - = yes + assert Foo.One(10) == Foo.One(10) >> Foo.One(10) == Foo.Zero = no @@ -38,8 +37,7 @@ func main() >> Foo.One(10) == Foo.One(-1) = no - >> Foo.One(10) < Foo.Two(1, 2) - = yes + assert Foo.One(10) < Foo.Two(1, 2) >> x := Foo.One(123) >> t := |x| |
