summaryrefslogtreecommitdiff
path: root/src/utils/stringutils_unittest.cc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-23 16:31:25 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-23 22:24:54 +0300
commitbb738bb468b1aafb9c6291b9d9e87e3711fa2ef7 (patch)
tree7c25e6541dd52b38ff08e86ac524f86d2956e655 /src/utils/stringutils_unittest.cc
parent03b3dd1a41fa3984ce794b1811ba929c975cfff0 (diff)
downloadplus-bb738bb468b1aafb9c6291b9d9e87e3711fa2ef7.tar.gz
plus-bb738bb468b1aafb9c6291b9d9e87e3711fa2ef7.tar.bz2
plus-bb738bb468b1aafb9c6291b9d9e87e3711fa2ef7.tar.xz
plus-bb738bb468b1aafb9c6291b9d9e87e3711fa2ef7.zip
Fix unit tests issues.
Diffstat (limited to 'src/utils/stringutils_unittest.cc')
-rw-r--r--src/utils/stringutils_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/stringutils_unittest.cc b/src/utils/stringutils_unittest.cc
index 998c5831b..309bf1ee9 100644
--- a/src/utils/stringutils_unittest.cc
+++ b/src/utils/stringutils_unittest.cc
@@ -821,7 +821,7 @@ TEST_CASE("stringuntils splitToStringVector 1")
splitToStringVector(tokens, "t,,zz", ',');
REQUIRE(tokens.size() == 2);
REQUIRE(tokens[0] == "t");
- REQUIRE(tokens[2] == "zz");
+ REQUIRE(tokens[1] == "zz");
tokens.clear();
splitToStringVector(tokens, "10,a2;30", ',');