mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-07 04:02:23 +03:00
testRange: Make sure tests can actually fail
This commit is contained in:
1 parent
51f3a76ab2
commit
35e09c7aef
1 file changed
+1
-1
@@ -11,7 +11,7 @@
|
||||
do { \
|
||||
if (!(x)) { \
|
||||
std::cout << "ASSERT_TRUE(" #x ") failed on line " << __LINE__ << "\n"; \
|
||||
return false; \
|
||||
return -1; \
|
||||
} \
|
||||
} while (false)
|
||||
|
||||
|
||||
Reference in new issue
Block a user