testRange: Make sure tests can actually fail

This commit is contained in:
Regina Pfeifer 2019-03-20 06:16:58 +01:00
parent 51f3a76ab2
commit 35e09c7aef

View File

@ -11,7 +11,7 @@
do { \
if (!(x)) { \
std::cout << "ASSERT_TRUE(" #x ") failed on line " << __LINE__ << "\n"; \
return false; \
return -1; \
} \
} while (false)