summaryrefslogtreecommitdiff
path: root/src/unittests/utils
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-01 21:24:59 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-01 21:54:48 +0300
commitf5e3f241af190e487c0499dae0efc12e9ae2d202 (patch)
tree295bac3fa27cfff3c78d664b49b01ff51b723b77 /src/unittests/utils
parent13c5cc47aca547c1f3ca02e26672557823b844ee (diff)
downloadplus-f5e3f241af190e487c0499dae0efc12e9ae2d202.tar.gz
plus-f5e3f241af190e487c0499dae0efc12e9ae2d202.tar.bz2
plus-f5e3f241af190e487c0499dae0efc12e9ae2d202.tar.xz
plus-f5e3f241af190e487c0499dae0efc12e9ae2d202.zip
Fix code style.
Diffstat (limited to 'src/unittests/utils')
-rw-r--r--src/unittests/utils/stringutils.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/unittests/utils/stringutils.cc b/src/unittests/utils/stringutils.cc
index 44bc4d13f..128b07078 100644
--- a/src/unittests/utils/stringutils.cc
+++ b/src/unittests/utils/stringutils.cc
@@ -1216,8 +1216,6 @@ TEST_CASE("stringuntils decodeLinkText", "")
TEST_CASE("stringuntils isDigit", "")
{
- std::string str;
-
REQUIRE_FALSE(isDigit(""));
REQUIRE(isDigit("1"));
REQUIRE(isDigit("123"));
@@ -1229,8 +1227,6 @@ TEST_CASE("stringuntils isDigit", "")
TEST_CASE("stringuntils findAny", "")
{
- std::string str;
-
REQUIRE(findAny("test line", ",", 0) == std::string::npos);
REQUIRE(findAny("test line", " ", 0) == 4U);
REQUIRE(findAny("test, line", ", ", 0) == 4U);