From 35e09c7aefabc958a550d3256ff367759ce80fa8 Mon Sep 17 00:00:00 2001 From: Regina Pfeifer Date: Wed, 20 Mar 2019 06:16:58 +0100 Subject: testRange: Make sure tests can actually fail --- Tests/CMakeLib/testRange.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/CMakeLib/testRange.cxx b/Tests/CMakeLib/testRange.cxx index 5ae805f..b26b07b 100644 --- a/Tests/CMakeLib/testRange.cxx +++ b/Tests/CMakeLib/testRange.cxx @@ -11,7 +11,7 @@ do { \ if (!(x)) { \ std::cout << "ASSERT_TRUE(" #x ") failed on line " << __LINE__ << "\n"; \ - return false; \ + return -1; \ } \ } while (false) -- cgit v0.12