From 9a42f5291543c9627193cc542766f42909aa51f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Kr=C3=BCger?= Date: Mon, 30 Nov 2015 22:04:24 +0100 Subject: [PATCH] testpath: add another explicit test for './././././test.cpp' being the same as 'test.cpp' --- test/testpath.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/test/testpath.cpp b/test/testpath.cpp index c40473a9e..5fc861626 100644 --- a/test/testpath.cpp +++ b/test/testpath.cpp @@ -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"));