aboutsummaryrefslogtreecommitdiffstats
path: root/unittests
diff options
context:
space:
mode:
Diffstat (limited to 'unittests')
-rw-r--r--unittests/Support/Path.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/unittests/Support/Path.cpp b/unittests/Support/Path.cpp
index 823b078..8570047 100644
--- a/unittests/Support/Path.cpp
+++ b/unittests/Support/Path.cpp
@@ -107,6 +107,9 @@ TEST(Support, Path) {
if (error_code ec = sys::path::replace_extension(temp_store, "ext"))
ASSERT_FALSE(ec.message().c_str());
outs() << " replace_extension: " << temp_store << '\n';
+ if (error_code ec = sys::path::native(*i, temp_store))
+ ASSERT_FALSE(ec.message().c_str());
+ outs() << " native: " << temp_store << '\n';
outs().flush();
}