From 573d9cc8f2124bea2f7a4fa32ec54b94a083b324 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Mon, 17 Oct 2016 13:57:16 +0000 Subject: [PATCH] [Support] remove_dots: Remove windows test. Windows doesn't have roots, so I think this test doesn't make sense there. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@284386 91177308-0d34-0410-b5e6-96231b3b80d8 --- unittests/Support/Path.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/unittests/Support/Path.cpp b/unittests/Support/Path.cpp index 7ddc5dbb396..30eaa8b278a 100644 --- a/unittests/Support/Path.cpp +++ b/unittests/Support/Path.cpp @@ -969,8 +969,6 @@ TEST(Support, RemoveDots) { EXPECT_EQ("c", remove_dots(".\\.\\c", true)); EXPECT_EQ("..\\a\\c", remove_dots("..\\a\\b\\..\\c", true)); EXPECT_EQ("..\\..\\a\\c", remove_dots("..\\..\\a\\b\\..\\c", true)); - EXPECT_EQ("\\a\\c", remove_dots("\\..\\..\\a\\c", true)); - EXPECT_EQ("\\a\\c", remove_dots("\\..\\a\\b\\\\..\\.\\.\\\\c", true)); SmallString<64> Path1(".\\.\\c"); EXPECT_TRUE(path::remove_dots(Path1, true));