summaryrefslogtreecommitdiff
path: root/src/utils/stringutils_unittest.cc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-05 21:49:04 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-06 12:12:22 +0300
commit2bd59adc7c456ce6f377feac8bc838e8011ebfc8 (patch)
treef2f25428e42e59b9a6d55d7c0be9a99c42e96e40 /src/utils/stringutils_unittest.cc
parentac1ef6b19f5c1405cfaa239ab367a93b17043723 (diff)
downloadmanaplus-2bd59adc7c456ce6f377feac8bc838e8011ebfc8.tar.gz
manaplus-2bd59adc7c456ce6f377feac8bc838e8011ebfc8.tar.bz2
manaplus-2bd59adc7c456ce6f377feac8bc838e8011ebfc8.tar.xz
manaplus-2bd59adc7c456ce6f377feac8bc838e8011ebfc8.zip
Fix code style.
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")