From: Vadim Zeitlin Date: Fri, 3 Apr 2009 17:03:16 +0000 (+0000) Subject: fix the test case which wrongly relied on wxString using UTF-8 representation X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/727e8d842f73502b485e6da2ef4fc51f218aa75e fix the test case which wrongly relied on wxString using UTF-8 representation git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/tests/strings/unicode.cpp b/tests/strings/unicode.cpp index 1110b3f29d..4dc62d7ebf 100644 --- a/tests/strings/unicode.cpp +++ b/tests/strings/unicode.cpp @@ -207,7 +207,7 @@ void UnicodeTestCase::ConstructorsWithConversion() wxString s2(wchar); CPPUNIT_ASSERT_EQUAL( wchar, s2 ); - CPPUNIT_ASSERT_EQUAL( utf8, s2 ); + CPPUNIT_ASSERT_EQUAL( wxString::FromUTF8(utf8), s2 ); #else CPPUNIT_ASSERT_EQUAL( utf8, s1 ); #endif