diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-01-23 16:31:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-01-23 22:24:54 +0300 |
commit | bb738bb468b1aafb9c6291b9d9e87e3711fa2ef7 (patch) | |
tree | 7c25e6541dd52b38ff08e86ac524f86d2956e655 /src/utils/stringutils_unittest.cc | |
parent | 03b3dd1a41fa3984ce794b1811ba929c975cfff0 (diff) | |
download | manaplus-bb738bb468b1aafb9c6291b9d9e87e3711fa2ef7.tar.gz manaplus-bb738bb468b1aafb9c6291b9d9e87e3711fa2ef7.tar.bz2 manaplus-bb738bb468b1aafb9c6291b9d9e87e3711fa2ef7.tar.xz manaplus-bb738bb468b1aafb9c6291b9d9e87e3711fa2ef7.zip |
Fix unit tests issues.
Diffstat (limited to 'src/utils/stringutils_unittest.cc')
-rw-r--r-- | src/utils/stringutils_unittest.cc | 2 |
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", ','); |