Additional sanity check.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -195,6 +195,7 @@ void StringTestCase::Conversion()
|
||||
CPPUNIT_ASSERT( memcmp(theBuffer.data(), "The\0String", 11) == 0 );
|
||||
|
||||
wxString szTheString2("The\0String", wxConvLocal, 10);
|
||||
CPPUNIT_ASSERT( szTheString2.length() == 11 );
|
||||
CPPUNIT_ASSERT( wxTmemcmp(szTheString2.c_str(), L"The\0String", 11) == 0 );
|
||||
#else
|
||||
wxString szTheString(wxT("TheString"));
|
||||
|
Reference in New Issue
Block a user