You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using this trick to fail a test fast ls /x || return $SHUNIT_FALSE
I think the documentation could be clearer about the fact that any "normal" methods to exit a shell script early on an error such as set -e or set -o errexit seems to have no effect with shunit2
blob/master/README.md says
fail [message]
Fails the test immediately.
I thus tried the following code.
Because I was told fail fails the test immediately, I expect to only see ASSERT:A. However, I see ASSERT:A and ASSERT:B.
I don't know if it's a documentation bug or code bug. Please fix.
My version is 2.1.9pre.
The text was updated successfully, but these errors were encountered: