From 727e8d842f73502b485e6da2ef4fc51f218aa75e Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 3 Apr 2009 17:03:16 +0000 Subject: [PATCH] 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 --- tests/strings/unicode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.0