aboutsummaryrefslogtreecommitdiffstats
path: root/unittests
diff options
context:
space:
mode:
Diffstat (limited to 'unittests')
-rw-r--r--unittests/Support/Path.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/unittests/Support/Path.cpp b/unittests/Support/Path.cpp
index b8f818f..5ab74e1 100644
--- a/unittests/Support/Path.cpp
+++ b/unittests/Support/Path.cpp
@@ -99,6 +99,10 @@ TEST(Support, Path) {
if (error_code ec = sys::path::make_absolute(temp_store))
ASSERT_FALSE(ec.message().c_str());
outs() << " make_absolute: " << temp_store << '\n';
+ temp_store = *i;
+ if (error_code ec = sys::path::remove_filename(temp_store))
+ ASSERT_FALSE(ec.message().c_str());
+ outs() << " remove_filename: " << temp_store << '\n';
outs().flush();
}