summaryrefslogtreecommitdiff
path: root/lldb/unittests
diff options
context:
space:
mode:
authorStella Stamenova <stilis@microsoft.com>2018-11-28 19:34:01 +0000
committerStella Stamenova <stilis@microsoft.com>2018-11-28 19:34:01 +0000
commitbfd14efee358bac997d77e4c33950d91afce1aea (patch)
tree58dabed48de606cd239963d84f4c7763f749f201 /lldb/unittests
parent4154b3ea3b26cac47a31b9da6d34aa945a5a6681 (diff)
[unittests] Fix the File System Test on Windows
Two of the file system tests are failing on Windows - this updates them to expect the correct values after the refactor of the file system code.
Diffstat (limited to 'lldb/unittests')
-rw-r--r--lldb/unittests/Host/FileSystemTest.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/lldb/unittests/Host/FileSystemTest.cpp b/lldb/unittests/Host/FileSystemTest.cpp
index 6c55a965806..25469403748 100644
--- a/lldb/unittests/Host/FileSystemTest.cpp
+++ b/lldb/unittests/Host/FileSystemTest.cpp
@@ -225,11 +225,7 @@ TEST(FileSystemTest, MakeAbsolute) {
SmallString<16> foo(foo_relative);
auto EC = fs.MakeAbsolute(foo);
EXPECT_FALSE(EC);
-#ifdef _WIN32
- EXPECT_TRUE(foo.equals("\\foo"));
-#else
EXPECT_TRUE(foo.equals("/foo"));
-#endif
}
{
@@ -247,11 +243,7 @@ TEST(FileSystemTest, Resolve) {
StringRef foo_relative = "foo";
SmallString<16> foo(foo_relative);
fs.Resolve(foo);
-#ifdef _WIN32
- EXPECT_TRUE(foo.equals("\\foo"));
-#else
EXPECT_TRUE(foo.equals("/foo"));
-#endif
}
{