From a8da1f8ee4293ea6b4711ed33ca192bc6ec796f4 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Wed, 16 May 2018 23:32:45 +0000 Subject: Revert 332511 after reverting llvm revision 332508. llvm-svn: 332556 --- lldb/unittests/Utility/FileSpecTest.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lldb/unittests/Utility/FileSpecTest.cpp') 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)"}, -- cgit v1.2.3