Fix the operator != on ZString.
This commit is contained in:
1 parent
d38b7f0c55
commit
d1c38dcfc8
5 files changed
+15
-3
No files matched your search
+2
-1
@@ -1,2 +1,3 @@
|
||||
#!/bin/bash
|
||||
g++ -o mstring_test mstring_test.cpp -I.. -L.. -lCoreUtils
|
||||
g++ -o zstring_test zstring_test.cpp -I.. -L.. -lCoreUtils
|
||||
g++ -o mstring_test mstring_test.cpp -I.. -L.. -lCoreUtils
|
||||
Binary file not shown.
Binary file not shown.
@@ -3,6 +3,13 @@
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
|
||||
// Test comparison operations.
|
||||
|
||||
coreutils::ZString test1("");
|
||||
std::cout << (test1 != ".");
|
||||
|
||||
// Test split operations.
|
||||
|
||||
coreutils::ZString test("11111:22222:33333:44444");
|
||||
std::cout << "test pre-split: [" << test << "]." << std::endl;
|
||||
|
||||
|
||||
Reference in new issue
Block a user