Kevin Locke
98b63bd041
Allow nullptr or __null in asserts.t
...
Libc in FreeBSD 10.3 defines NULL to nullptr rather than __null. Allow
this in the test output.
Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2016-06-28 17:33:00 -07:00
commit
f201d85e3c
Behavior of cr_assert_str* assertions changed:
...
- Default assertion messages will now print the expession and the content of both strings.
- String assertions will not crash, if the actual string is NULL.
(cr_assert_not_null(actual) is called before the cr_assert_str* assertion)
2016-06-07 16:56:17 +02:00
Franklin Mathieu
1f7ca2f32b
Merge pull request #101 from kaidowei/bleeding
...
cli: Strip red ANSI color from the failing & crashing summary if there were no errored tests.
2016-04-13 15:37:40 +02:00
Snaipe
28007ab67e
Added missing array include for asserts.cc
2016-02-13 15:09:31 +01:00
Snaipe
24f90ea817
Fixed array comparison assert samples
2016-02-13 13:20:10 +01:00
commit
f442488f19
Visibility change:
...
The numbers next to Failing and Crashing in the text synthesis will not be printed red, if they are zero.
2016-02-11 14:31:35 +01:00
Snaipe
34675fe4f3
Redefine null for failure messages regression test
2016-01-17 11:50:10 +01:00
Snaipe
bfc29532cd
Moved cram tests into their own subdirectory
2016-01-16 13:28:11 +01:00