]> git.saurik.com Git - wxWidgets.git/commitdiff
use hex escapes instead of 8 bit characaters (#10105)
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 23 Oct 2008 13:08:02 +0000 (13:08 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 23 Oct 2008 13:08:02 +0000 (13:08 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/xlocale/xlocale.cpp

index d0502e48874919172e08a67fe2dcb0f52d31a2a1..07172bb09ccb45156f6bdce5ffded7b806a59ef8 100644 (file)
@@ -177,10 +177,10 @@ void XLocaleTestCase::TestCtypeFunctions()
 
     TestCtypeFunctionsWith(locFR);
 
-    CPPUNIT_ASSERT( wxIsalpha_l('é', locFR) );
-    CPPUNIT_ASSERT( wxIslower_l('é', locFR) );
-    CPPUNIT_ASSERT( !wxIslower_l('É', locFR) );
-    CPPUNIT_ASSERT( wxIsupper_l('É', locFR) );
+    CPPUNIT_ASSERT( wxIsalpha_l('\xe9', locFR) );
+    CPPUNIT_ASSERT( wxIslower_l('\xe9', locFR) );
+    CPPUNIT_ASSERT( !wxIslower_l('\xc9', locFR) );
+    CPPUNIT_ASSERT( wxIsupper_l('\xc9', locFR) );
 #endif
 }