Repository navigation
|
In my test files I have a bunch of cr_assert_eq(get_something(...), expected_value);Currently when it fails, it tells me |
Answered by
Snaipe
Mar 25, 2024
Replies: 1 comment 1 reply
|
You need to use the new assertion API, which in this case would be |
1 reply
Answer selected by
xsh005
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to use the new assertion API, which in this case would be
cr_assert(eq(tag, lhs, rhs)). You can see more examples of this in the samples directory: https://github.com/Snaipe/Criterion/blob/bleeding/samples/asserts.c