diff --git a/tests/string.cpp b/tests/string.cpp index 40d4b39..6a2166d 100644 --- a/tests/string.cpp +++ b/tests/string.cpp @@ -38,11 +38,14 @@ int main(int argc, char** argv, char** envp) { CVarList list("hello world!", 0, 's', true); EXPECT(list[0], "hello"); EXPECT(list[1], "world!"); - + CVarList list2("test:test\\:test", 0, ':', true, true); EXPECT(list2[0], "test"); EXPECT(list2[1], "test:test"); + CConstVarList listConst("hello world!", 0, 's', true); + EXPECT(listConst[0], "hello"); + EXPECT(listConst[1], "world!"); std::string hello = "hello world!"; replaceInString(hello, "hello", "hi");