commure / datatest

Datatest -- data-driven test framework for Rust
Apache License 2.0
53 stars 15 forks source link

When a test returns `Err(_)`, show the error #26

Closed justinpombrio closed 4 years ago

justinpombrio commented 4 years ago

When a test returns Err(_), show the error.

justinpombrio commented 4 years ago

Ok, it now matches the Termination trait. I hardcoded the status codes of Ok and Err as 0 and 255 as I didn't see a way to get those from stable rust (though they're just used in the one error message).