testpath: add another explicit test for './././././test.cpp' being the same as 'test.cpp'

This commit is contained in:
Matthias Krüger 2015-11-30 22:04:24 +01:00
parent c7bbc27130
commit 9a42f52915
1 changed files with 1 additions and 0 deletions

View File

@ -75,6 +75,7 @@ private:
ASSERT_EQUALS("../../../src/test.cpp", Path::simplifyPath("../../../src/test.cpp"));
ASSERT_EQUALS("src/test.cpp", Path::simplifyPath(".//src/test.cpp"));
ASSERT_EQUALS("src/test.cpp", Path::simplifyPath(".///src/test.cpp"));
ASSERT_EQUALS("test.cpp", Path::simplifyPath("./././././test.cpp"));
// Handling of UNC paths on Windows
ASSERT_EQUALS("//src/test.cpp", Path::simplifyPath("//src/test.cpp"));