]> git.saurik.com Git - wxWidgets.git/commitdiff
add more tests for wxFileName::Normalize(DOTS) (see #10960)
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 3 Jul 2009 22:07:22 +0000 (22:07 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 3 Jul 2009 22:07:22 +0000 (22:07 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/filename/filenametest.cpp

index ce964f54b9f3b53ae9cec67b43ddf529f7421c6b..7e85380c1bf7cb3f352fcc791a13938e503a9ec3 100644 (file)
@@ -315,6 +315,8 @@ void FileNameTestCase::TestNormalize()
 
         // test wxPATH_NORM_DOTS
         { "a/.././b/c/../../", wxPATH_NORM_DOTS, "", wxPATH_UNIX },
+        { "./", wxPATH_NORM_DOTS, "", wxPATH_UNIX },
+        { "b/../", wxPATH_NORM_DOTS, "", wxPATH_UNIX },
 
         // test wxPATH_NORM_TILDE: notice that ~ is only interpreted specially
         // when it is the first character in the file name