[gnote] Make test safer



commit 88b5de672320de980ce90af3445c3aad350e000d
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Sat Mar 11 22:59:03 2017 +0200

    Make test safer

 src/test/unit/stringutests.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/test/unit/stringutests.cpp b/src/test/unit/stringutests.cpp
index 595ff47..5cd9d1c 100644
--- a/src/test/unit/stringutests.cpp
+++ b/src/test/unit/stringutests.cpp
@@ -139,7 +139,7 @@ SUITE(String)
     splits.clear();
     sharp::string_split(splits, "\t\tjust\na\tbunch of\n\nrandom\t words\n\n\t", " \t\n");
 
-    CHECK_EQUAL(13, splits.size());
+    REQUIRE CHECK_EQUAL(13, splits.size());
     CHECK_EQUAL("", splits[0]);
     CHECK_EQUAL("", splits[1]);
     CHECK_EQUAL("just", splits[2]);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]