mirror of
https://github.com/hyprwm/hyprutils.git
synced 2025-12-20 05:50:11 +01:00
test
This commit is contained in:
parent
39d598c0a2
commit
c38c8a8657
1 changed files with 5 additions and 0 deletions
|
|
@ -87,6 +87,11 @@ int main(int argc, char** argv, char** envp) {
|
||||||
EXPECT(varList2H[1], "\\");
|
EXPECT(varList2H[1], "\\");
|
||||||
EXPECT(varList2H[2], "ok?");
|
EXPECT(varList2H[2], "ok?");
|
||||||
|
|
||||||
|
CVarList2 varList2I("Hello,\\, ok?", 0, ',', true, false);
|
||||||
|
EXPECT(varList2I[0], "Hello");
|
||||||
|
EXPECT(varList2I[1], "\\");
|
||||||
|
EXPECT(varList2I[2], "ok?");
|
||||||
|
|
||||||
std::string hello = "hello world!";
|
std::string hello = "hello world!";
|
||||||
replaceInString(hello, "hello", "hi");
|
replaceInString(hello, "hello", "hi");
|
||||||
EXPECT(hello, "hi world!");
|
EXPECT(hello, "hi world!");
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue