Is this expected behaviour? #460
Answered
by
Snaipe
lightiverson
asked this question in
Q&A
-
It seems when passing a user defined exit code to a test, Criterion ignores any other assertions. Take the attached screenshot for example, shouldn't this test fail because of the false assertion? |
Beta Was this translation helpful? Give feedback.
Answered by
Snaipe
Sep 6, 2022
Replies: 2 comments 2 replies
-
Your |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
lightiverson
-
Is there any way to check for |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Your
cr_assert_stderr_eq_str
never runs, because error() exits the process by calling exit(0). This behavior is quite normal.