-
In my test files I have a bunch of cr_assert_eq(get_something(...), expected_value); Currently when it fails, it tells me |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You need to use the new assertion API, which in this case would be |
Beta Was this translation helpful? Give feedback.
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