diff --git a/test/testpath.cpp b/test/testpath.cpp index d96b2abb6..874d7fcf5 100644 --- a/test/testpath.cpp +++ b/test/testpath.cpp @@ -76,6 +76,8 @@ private: 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")); + TODO_ASSERT_EQUALS("src", "src/abc/..", Path::simplifyPath("src/abc/..")); + // TODO: don't crash ASSERT_EQUALS("src", Path::simplifyPath("src/abc/../")); // Handling of UNC paths on Windows ASSERT_EQUALS("//src/test.cpp", Path::simplifyPath("//src/test.cpp"));