Closed leroycep closed 3 years ago
Alright, I added two commits. The first one switches the tests to return errors, though there were a few cases where I didn't know how to return an error from the function so I just added catch unreachable
. For example sinks didn't allow returning an error.
The second commit makes the code compatible with an even newer version zig, where unused variables and redundant comptime
keywords are disallowed.
This accomplishes what I wanted to do with this PR, so I'm opening it up for review.
This is looking solid! Awesome job.
Some of the major changes this version:
try
in front ofstd.testing.expectX
, but it will also require any tester functions to be updated to return error codes. This has not been fixed in this pull request at the moment.