aboutsummaryrefslogtreecommitdiff
path: root/test/common/str.h
diff options
context:
space:
mode:
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() {