diff options
| author | Greg Clayton <gclayton@apple.com> | 2018-05-16 18:37:00 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2018-05-16 18:37:00 +0000 |
| commit | 4de94930c3ca2ebc4a680ac361cd07217714525d (patch) | |
| tree | c4659b21c70a0eff7f0f338ee8c2a830d55e132a | |
| parent | d5d77dcb46fdf36da7d663768d1cec11e1ad8076 (diff) | |
| download | bcm5719-llvm-4de94930c3ca2ebc4a680ac361cd07217714525d.tar.gz bcm5719-llvm-4de94930c3ca2ebc4a680ac361cd07217714525d.zip | |
Fix FileSpecTest after LLVM changes to remove_dots (https://reviews.llvm.org/D46887)
llvm-svn: 332511
| -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 08c47df4e5c..d535ad713ae 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)"}, |

