aboutsummaryrefslogtreecommitdiff
path: root/unittests/Support/Path.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'unittests/Support/Path.cpp')
-rw-r--r--unittests/Support/Path.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/unittests/Support/Path.cpp b/unittests/Support/Path.cpp
index 06e8ffd184..d19bf4a2ef 100644
--- a/unittests/Support/Path.cpp
+++ b/unittests/Support/Path.cpp
@@ -128,11 +128,10 @@ TEST(Support, Path) {
EXPECT_TRUE(TempFileExists);
::close(FileDescriptor);
- ::remove(TempPath.begin());
+ ::remove(TempPath.c_str());
ASSERT_FALSE(fs::exists(Twine(TempPath), TempFileExists));
- // FIXME: This is returning true on some systems...
- // EXPECT_FALSE(TempFileExists);
+ EXPECT_FALSE(TempFileExists);
}
} // anonymous namespace