]> git.saurik.com Git - wxWidgets.git/commitdiff
fix the test case which wrongly relied on wxString using UTF-8 representation
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 3 Apr 2009 17:03:16 +0000 (17:03 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 3 Apr 2009 17:03:16 +0000 (17:03 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/strings/unicode.cpp

index 1110b3f29d1d717a9424a08185e69c289e17c033..4dc62d7ebf6bc6c276124361c3c938327a4d61b9 100644 (file)
@@ -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