X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e7b54c0721250e78d3347de37b31c0982c47f67e..cd3eb0f7bbbb9b2954ff497e06bff52eb012076f:/tests/filename/filenametest.cpp diff --git a/tests/filename/filenametest.cpp b/tests/filename/filenametest.cpp index cc9cc32902..4145a2217e 100644 --- a/tests/filename/filenametest.cpp +++ b/tests/filename/filenametest.cpp @@ -288,9 +288,9 @@ void FileNameTestCase::TestNormalize() static struct FileNameTest { - const wxChar *original; + const wxString original; int flags; - wxString expected; + const wxString expected; } tests[] = { // test wxPATH_NORM_ENV_VARS @@ -335,7 +335,7 @@ void FileNameTestCase::TestNormalize() ); // compare result with expected string - CPPUNIT_ASSERT_EQUAL( tests[i].expected, fn.GetFullPath(wxPATH_UNIX) ); + WX_ASSERT_STR_EQUAL( tests[i].expected, fn.GetFullPath(wxPATH_UNIX) ); } }