X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d4953dd4690bcaf6476ba5d93a01651ec4e91692..acaa833787f4e7ae6d19ac98da1f2b3f3969fedf:/tests/filename/filenametest.cpp diff --git a/tests/filename/filenametest.cpp b/tests/filename/filenametest.cpp index 8039d2f80b..70d3dced98 100644 --- a/tests/filename/filenametest.cpp +++ b/tests/filename/filenametest.cpp @@ -500,10 +500,10 @@ void FileNameTestCase::TestUNC() { wxFileName fn("//share/path/name.ext", wxPATH_DOS); CPPUNIT_ASSERT_EQUAL( "share", fn.GetVolume() ); - CPPUNIT_ASSERT_EQUAL( "/path", fn.GetPath() ); + CPPUNIT_ASSERT_EQUAL( "\\path", fn.GetPath(wxPATH_NO_SEPARATOR, wxPATH_DOS) ); fn.Assign("\\\\share2\\path2\\name.ext", wxPATH_DOS); CPPUNIT_ASSERT_EQUAL( "share2", fn.GetVolume() ); - CPPUNIT_ASSERT_EQUAL( "/path2", fn.GetPath() ); + CPPUNIT_ASSERT_EQUAL( "\\path2", fn.GetPath(wxPATH_NO_SEPARATOR, wxPATH_DOS) ); }