summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Support
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2016-10-17 13:57:16 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2016-10-17 13:57:16 +0000
commiteb100b6a48dc0f2df8fd3e0445888d326d429121 (patch)
tree97e94940097bf312d17abfc851e1f3c15ca68af9 /llvm/unittests/Support
parent6a19d592dadb31c09bec8ae7b65b1f9836ef04ac (diff)
downloadbcm5719-llvm-eb100b6a48dc0f2df8fd3e0445888d326d429121.tar.gz
bcm5719-llvm-eb100b6a48dc0f2df8fd3e0445888d326d429121.zip
[Support] remove_dots: Remove windows test.
Windows doesn't have roots, so I think this test doesn't make sense there. llvm-svn: 284386
Diffstat (limited to 'llvm/unittests/Support')
-rw-r--r--llvm/unittests/Support/Path.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/unittests/Support/Path.cpp b/llvm/unittests/Support/Path.cpp
index 7ddc5dbb396..30eaa8b278a 100644
--- a/llvm/unittests/Support/Path.cpp
+++ b/llvm/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));
OpenPOWER on IntegriCloud