From: Vadim Zeitlin Date: Fri, 3 Jul 2009 22:07:22 +0000 (+0000) Subject: add more tests for wxFileName::Normalize(DOTS) (see #10960) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/60c4147a073dc05be686c1a837cd44af82100e1c?ds=inline add more tests for wxFileName::Normalize(DOTS) (see #10960) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/tests/filename/filenametest.cpp b/tests/filename/filenametest.cpp index ce964f54b9..7e85380c1b 100644 --- a/tests/filename/filenametest.cpp +++ b/tests/filename/filenametest.cpp @@ -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