summaryrefslogtreecommitdiff
path: root/src/utils/stringutils_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/stringutils_unittest.cc')
-rw-r--r--src/utils/stringutils_unittest.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utils/stringutils_unittest.cc b/src/utils/stringutils_unittest.cc
index 4dca829d7..a2c30bb76 100644
--- a/src/utils/stringutils_unittest.cc
+++ b/src/utils/stringutils_unittest.cc
@@ -102,13 +102,13 @@ TEST_CASE("stringuntils atox 1")
atox(str);
str = "";
- int k = atox(str);
+ REQUIRE(0 == atox(str));
str = "0";
- k = atox(str);
+ REQUIRE(0 == atox(str));
str = "0x";
- k = atox(str);
+ REQUIRE(0 == atox(str));
}
TEST_CASE("stringuntils ipToString 1")