[libcxx] r322351 - Add error code handling to remove_all test
Ekaterina Vaartis via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 11 21:02:06 PST 2018
Author: vaartis
Date: Thu Jan 11 21:02:06 2018
New Revision: 322351
URL: http://llvm.org/viewvc/llvm-project?rev=322351&view=rev
Log:
Add error code handling to remove_all test
As mentioned by EricWF in revision D41830
Modified:
libcxx/trunk/test/std/experimental/filesystem/fs.op.funcs/fs.op.remove_all/remove_all.pass.cpp
Modified: libcxx/trunk/test/std/experimental/filesystem/fs.op.funcs/fs.op.remove_all/remove_all.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/filesystem/fs.op.funcs/fs.op.remove_all/remove_all.pass.cpp?rev=322351&r1=322350&r2=322351&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/filesystem/fs.op.funcs/fs.op.remove_all/remove_all.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/filesystem/fs.op.funcs/fs.op.remove_all/remove_all.pass.cpp Thu Jan 11 21:02:06 2018
@@ -83,7 +83,7 @@ TEST_CASE(test_error_reporting)
for (auto &p : testCasesNonexistant) {
std::error_code ec;
- TEST_CHECK(fs::remove_all(p) == 0);
+ TEST_CHECK(fs::remove_all(p, ec) == 0);
TEST_CHECK(!ec);
}
}
More information about the cfe-commits
mailing list