[Support] remove_dots: Remove windows test.
authorBenjamin Kramer <benny.kra@googlemail.com>
Mon, 17 Oct 2016 13:57:16 +0000 (13:57 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Mon, 17 Oct 2016 13:57:16 +0000 (13:57 +0000)
Windows doesn't have roots, so I think this test doesn't make sense
there.

llvm-svn: 284386

llvm/unittests/Support/Path.cpp

index 7ddc5db..30eaa8b 100644 (file)
@@ -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));