testpath: add another explicit test for './././././test.cpp' being the same as 'test.cpp'
This commit is contained in:
parent
c7bbc27130
commit
9a42f52915
|
@ -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"));
|
||||
|
|
Loading…
Reference in New Issue