aboutsummaryrefslogtreecommitdiff
path: root/test/common/str.h
diff options
context:
space:
mode:
authorMax Horn2009-06-07 13:04:03 +0000
committerMax Horn2009-06-07 13:04:03 +0000
commita39048877a0db397e8412e722af296e7c49643de (patch)
treeaaab76676aac9f9449bca183547eeb5b146cdd98 /test/common/str.h
parent985bc454b20f20f2eccb62a2f3000022ac0d2c99 (diff)
downloadscummvm-rg350-a39048877a0db397e8412e722af296e7c49643de.tar.gz
scummvm-rg350-a39048877a0db397e8412e722af296e7c49643de.tar.bz2
scummvm-rg350-a39048877a0db397e8412e722af296e7c49643de.zip
Added some new method variants to Common::String
svn-id: r41333
Diffstat (limited to 'test/common/str.h')
-rw-r--r--test/common/str.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/common/str.h b/test/common/str.h
index 1e92dc0b7f..bf0db98b09 100644
--- a/test/common/str.h
+++ b/test/common/str.h
@@ -190,6 +190,9 @@ class StringTestSuite : public CxxTest::TestSuite
TS_ASSERT_EQUALS(str.contains("haha"), true);
TS_ASSERT_EQUALS(str.contains("hahb"), false);
TS_ASSERT_EQUALS(str.contains("test"), true);
+
+ TS_ASSERT_EQUALS(str.contains('/'), true);
+ TS_ASSERT_EQUALS(str.contains('x'), false);
}
void test_toLowercase() {