]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/filename/filenametest.cpp
Clarified difference between wrap width and width of control in wxStaticText.
[wxWidgets.git] / tests / filename / filenametest.cpp
index cc9cc32902fad5af72fc6d5be99153c210da119c..4145a2217e161391d2c273659aa84d2a6f44ebe0 100644 (file)
@@ -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) );
     }
 }