diff options
Diffstat (limited to 'lldb/unittests/Utility/FileSpecTest.cpp')
| -rw-r--r-- | lldb/unittests/Utility/FileSpecTest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lldb/unittests/Utility/FileSpecTest.cpp b/lldb/unittests/Utility/FileSpecTest.cpp index d535ad713ae..08c47df4e5c 100644 --- a/lldb/unittests/Utility/FileSpecTest.cpp +++ b/lldb/unittests/Utility/FileSpecTest.cpp @@ -199,9 +199,9 @@ TEST(FileSpecTest, GetNormalizedPath) { {"/..", "/"}, {"/.", "/"}, {"..", ".."}, - {".", "."}, + {".", ""}, {"../..", "../.."}, - {"foo/..", "."}, + {"foo/..", ""}, {"foo/../bar", "bar"}, {"../foo/..", ".."}, {"./foo", "foo"}, @@ -230,11 +230,11 @@ TEST(FileSpecTest, GetNormalizedPath) { {R"(\..)", R"(\..)"}, // {R"(c:..)", R"(c:..)"}, {R"(..)", R"(..)"}, - {R"(.)", R"(.)"}, + {R"(.)", R"()"}, // TODO: fix llvm::sys::path::remove_dots() to return "c:\" below. {R"(c:..\..)", R"(c:\..\..)"}, {R"(..\..)", R"(..\..)"}, - {R"(foo\..)", R"(.)"}, + {R"(foo\..)", R"()"}, {R"(foo\..\bar)", R"(bar)"}, {R"(..\foo\..)", R"(..)"}, {R"(.\foo)", R"(foo)"}, |

