]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/filename/filenametest.cpp
Document wxSL_MIN_MAX_LABELS and wxSL_VALUE_LABEL
[wxWidgets.git] / tests / filename / filenametest.cpp
index 8039d2f80b66bce1c47990cdb0420c3c6985c35d..70d3dced98bc513760d4e0b082cbea4b17dc022a 100644 (file)
@@ -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) );
 }