JSAbrahams / mamba

🐍 The Mamba programming language, because we care about safety
MIT License
85 stars 3 forks source link

Can we please pretty print all tests #227

Closed JSAbrahams closed 2 years ago

JSAbrahams commented 2 years ago

Issue, or potential issue

A lot of tests use unwrap directly. It'd be nicer if instead the tests return a result, and if this is a failure (when we don't expect it to be) then the error is properly printed instead of a very unreadable panic which is a very long line with debug output.

JSAbrahams commented 2 years ago

A large portions of the tests do this. Something to still make note of, but this doesn't warrant a separate issue anymore after several improvements to the tests.