[gnote] Make test safer
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Make test safer
- Date: Sat, 11 Mar 2017 20:59:23 +0000 (UTC)
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]