X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7b611a3ae9e5f258dbe18383783b975263a9aa58..6d6f99cb41d940f1fe2963e25e0377b595e3e232:/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) ); }