diff options
Diffstat (limited to 'unittests/Support/Path.cpp')
-rw-r--r-- | unittests/Support/Path.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/unittests/Support/Path.cpp b/unittests/Support/Path.cpp index 8be45de..2c7c3cb 100644 --- a/unittests/Support/Path.cpp +++ b/unittests/Support/Path.cpp @@ -73,15 +73,19 @@ TEST(Support, Path) { StringRef res; SmallString<16> temp_store; - if (error_code ec = sys::path::root_path(*i, res)) ASSERT_FALSE(ec.message().c_str()); + if (error_code ec = sys::path::root_path(*i, res)) + ASSERT_FALSE(ec.message().c_str()); outs() << " root_path: " << res << '\n'; - if (error_code ec = sys::path::root_name(*i, res)) ASSERT_FALSE(ec.message().c_str()); + if (error_code ec = sys::path::root_name(*i, res)) + ASSERT_FALSE(ec.message().c_str()); outs() << " root_name: " << res << '\n'; - if (error_code ec = sys::path::root_directory(*i, res)) ASSERT_FALSE(ec.message().c_str()); + if (error_code ec = sys::path::root_directory(*i, res)) + ASSERT_FALSE(ec.message().c_str()); outs() << " root_directory: " << res << '\n'; temp_store = *i; - if (error_code ec = sys::path::make_absolute(temp_store)) ASSERT_FALSE(ec.message().c_str()); + if (error_code ec = sys::path::make_absolute(temp_store)) + ASSERT_FALSE(ec.message().c_str()); outs() << " make_absolute: " << temp_store << '\n'; outs().flush(); |