summaryrefslogtreecommitdiffstats
path: root/i18npool/qa/cppunit/test_characterclassification.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool/qa/cppunit/test_characterclassification.cxx')
-rw-r--r--i18npool/qa/cppunit/test_characterclassification.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/i18npool/qa/cppunit/test_characterclassification.cxx b/i18npool/qa/cppunit/test_characterclassification.cxx
index 16cf087324e7..70c902f71aaa 100644
--- a/i18npool/qa/cppunit/test_characterclassification.cxx
+++ b/i18npool/qa/cppunit/test_characterclassification.cxx
@@ -49,11 +49,11 @@ void TestCharacterClassification::testTitleCase()
//basic example
OUString sTest("Some text");
OUString sTitleCase = m_xCC->toTitle(sTest, 0, sTest.getLength(), aLocale);
- CPPUNIT_ASSERT_MESSAGE("Should be title", sTitleCase == "Some Text");
+ CPPUNIT_ASSERT_EQUAL_MESSAGE("Should be title", OUString("Some Text"), sTitleCase);
OUString sUpperCase = m_xCC->toUpper(sTest, 0, sTest.getLength(), aLocale);
- CPPUNIT_ASSERT_MESSAGE("Should be upper", sUpperCase == "SOME TEXT");
+ CPPUNIT_ASSERT_EQUAL_MESSAGE("Should be upper", OUString("SOME TEXT"), sUpperCase);
OUString sLowerCase = m_xCC->toLower(sTest, 0, sTest.getLength(), aLocale);
- CPPUNIT_ASSERT_MESSAGE("Should be lower ", sLowerCase == "some text");
+ CPPUNIT_ASSERT_EQUAL_MESSAGE("Should be lower ", OUString("some text"), sLowerCase);
}
{