[llvm] r284386 - [Support] remove_dots: Remove windows test.
Benjamin Kramer via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 17 06:57:16 PDT 2016
Author: d0k
Date: Mon Oct 17 08:57:16 2016
New Revision: 284386
URL: http://llvm.org/viewvc/llvm-project?rev=284386&view=rev
Log:
[Support] remove_dots: Remove windows test.
Windows doesn't have roots, so I think this test doesn't make sense
there.
Modified:
llvm/trunk/unittests/Support/Path.cpp
Modified: llvm/trunk/unittests/Support/Path.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/Support/Path.cpp?rev=284386&r1=284385&r2=284386&view=diff
==============================================================================
--- llvm/trunk/unittests/Support/Path.cpp (original)
+++ llvm/trunk/unittests/Support/Path.cpp Mon Oct 17 08:57:16 2016
@@ -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));
More information about the llvm-commits
mailing list