wduquette / molt

Embeddable TCL Interpreter for Rust applications
BSD 3-Clause "New" or "Revised" License
103 stars 12 forks source link

Fix Issue 56: test harness result code #57

Closed wduquette closed 4 years ago

wduquette commented 4 years ago

This commit fixes issue #56.

molt_shell::test_harness now returns a Result<(),()>, Ok if there were no errors or test failures and Err otherwise.

molt_app tests this and exits with code 0 on Ok and code 1 on error.

Also, bumped the version to 0.2.0 since the change to test_harness can break code.