[libcxx-commits] [libcxx] 7b5f005 - [libcxx] [test] Remove two unnecesary files/variables in a test

Martin Storsjö via libcxx-commits libcxx-commits at lists.llvm.org
Sat Feb 20 00:20:27 PST 2021


Author: Martin Storsjö
Date: 2021-02-20T10:20:12+02:00
New Revision: 7b5f0050a9019e03ceda6cc7dbaadf56c71ec211

URL: https://github.com/llvm/llvm-project/commit/7b5f0050a9019e03ceda6cc7dbaadf56c71ec211
DIFF: https://github.com/llvm/llvm-project/commit/7b5f0050a9019e03ceda6cc7dbaadf56c71ec211.diff

LOG: [libcxx] [test] Remove two unnecesary files/variables in a test

These don't seem to have any function in the test.

The non_regular_file one seems to have been added in
0f8c8f59df057a85d6d49913ec9877c6d597785b, without any apparent
purpose there.

Differential Revision: https://reviews.llvm.org/D97083

Added: 
    

Modified: 
    libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/copy_file.pass.cpp

Removed: 
    


################################################################################
diff  --git a/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/copy_file.pass.cpp b/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/copy_file.pass.cpp
index 347bfa65dfb9..368fd7fe01e6 100644
--- a/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/copy_file.pass.cpp
+++ b/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/copy_file.pass.cpp
@@ -53,8 +53,6 @@ TEST_CASE(test_error_reporting) {
   scoped_test_env env;
   const path file = env.create_file("file1", 42);
   const path file2 = env.create_file("file2", 55);
-  const path non_regular_file = env.create_fifo("non_reg");
-  const path dne = env.make_env_path("dne");
 
   { // exists(to) && equivalent(to, from)
     std::error_code ec;


        


More information about the libcxx-commits mailing list