summaryrefslogtreecommitdiffstats
path: root/lilo-config/common/tests/String.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lilo-config/common/tests/String.cc')
-rw-r--r--lilo-config/common/tests/String.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/lilo-config/common/tests/String.cc b/lilo-config/common/tests/String.cc
index cfd9744..7b0b60e 100644
--- a/lilo-config/common/tests/String.cc
+++ b/lilo-config/common/tests/String.cc
@@ -54,20 +54,20 @@ int main(int argc, char **argv)
cerr << "regex() seems to be broken." << endl;
bugs++;
}
- if(!s.tqcontains("Red Hat")) {
- cerr << "tqcontains() seems to be broken." << endl;
+ if(!s.contains("Red Hat")) {
+ cerr << "contains() seems to be broken." << endl;
bugs++;
}
- if(t.tqreplace("Microsoft", "Windows", false) != "Windows sucks! Destroy Microsoft! Microsoft must die!") {
- cerr << "tqreplace() [once] seems to be broken." << endl;
+ if(t.replace("Microsoft", "Windows", false) != "Windows sucks! Destroy Microsoft! Microsoft must die!") {
+ cerr << "replace() [once] seems to be broken." << endl;
bugs++;
}
- if(t.tqreplace("Microsoft", "Windows") != "Windows sucks! Destroy Windows! Windows must die!") {
- cerr << "tqreplace() [all] seems to be broken." << endl;
+ if(t.replace("Microsoft", "Windows") != "Windows sucks! Destroy Windows! Windows must die!") {
+ cerr << "replace() [all] seems to be broken." << endl;
bugs++;
}
- if(u.tqreplace("Microsoft", "Windows") != "Windows sucks!") {
- cerr << "tqreplace() [all, test case 2] seems to be broken." << endl;
+ if(u.replace("Microsoft", "Windows") != "Windows sucks!") {
+ cerr << "replace() [all, test case 2] seems to be broken." << endl;
bugs++;
}