aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/fileutils/test_fileutils.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fileutils/test_fileutils.rb b/test/fileutils/test_fileutils.rb
index 25c0e30099..2b3978a7e6 100644
--- a/test/fileutils/test_fileutils.rb
+++ b/test/fileutils/test_fileutils.rb
@@ -309,7 +309,7 @@ class TestFileUtils < Test::Unit::TestCase
chmod 0755, 'tmp/cptmp'
cp 'tmp/cptmp', 'tmp/cptmp2'
- assert_equal_filemode('tmp/cptmp', 'tmp/cptmp2', bug4507, ~File.umask)
+ assert_equal_filemode('tmp/cptmp', 'tmp/cptmp2', bug4507, mask: ~File.umask)
end
def test_cp_preserve_permissions_dir