mirror of
https://github.com/hyprwm/hyprutils.git
synced 2025-05-12 21:30:36 +01:00
undo mistake on merging
This commit is contained in:
parent
aa3932a996
commit
c76afe2463
1 changed files with 4 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue