fix C strings comparison in LoadSave() test in STL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
57ea89975e
commit
a08711325b
1 changed files with 2 additions and 1 deletions
|
|
@ -185,6 +185,7 @@ void XmlTestCase::LoadSave()
|
|||
wxStringOutputStream sos8;
|
||||
doc.SetFileEncoding("UTF-8");
|
||||
CPPUNIT_ASSERT( doc.Save(sos8) );
|
||||
CPPUNIT_ASSERT_EQUAL( utf8xmlText, sos8.GetString().ToUTF8() );
|
||||
CPPUNIT_ASSERT_EQUAL( wxString(utf8xmlText),
|
||||
wxString(sos8.GetString().ToUTF8()) );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue