From c76afe24638aecb68538124fe6c25f37d61d609b Mon Sep 17 00:00:00 2001 From: LOSEARDES77 Date: Wed, 7 May 2025 19:22:22 +0200 Subject: [PATCH] undo mistake on merging --- tests/string.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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");