summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-17 20:39:01 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-17 20:39:01 +0300
commit1ad9eb156b85f42cfedf2e8588339bf608abb8ea (patch)
treeda2bcdadb26a03366a5cbe910de02b121a453709
parent0d8b32b8381f7fd03af151ae03fd30ea91c05667 (diff)
downloadplus-1ad9eb156b85f42cfedf2e8588339bf608abb8ea.tar.gz
plus-1ad9eb156b85f42cfedf2e8588339bf608abb8ea.tar.bz2
plus-1ad9eb156b85f42cfedf2e8588339bf608abb8ea.tar.xz
plus-1ad9eb156b85f42cfedf2e8588339bf608abb8ea.zip
Update stringutils tests.
-rw-r--r--src/utils/stringutils_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/stringutils_unittest.cc b/src/utils/stringutils_unittest.cc
index d2dfcdf62..09120c844 100644
--- a/src/utils/stringutils_unittest.cc
+++ b/src/utils/stringutils_unittest.cc
@@ -664,11 +664,11 @@ TEST_CASE("stringuntils replaceItemLinks")
str = "[test name 1,test name 2]";
replaceItemLinks(str);
- REQUIRE(str == "[@@123456,123|test name 1@@]");
+ REQUIRE(str == "[@@123456,123|@@]");
str = "[test name 1, test name 2 ]";
replaceItemLinks(str);
- REQUIRE(str == "[@@123456,123|test name 1@@]");
+ REQUIRE(str == "[@@123456,123|@@]");
}
SECTION("broken")