diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-04-11 14:56:08 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-04-11 19:12:28 +0900 |
commit | d89cc317c642848008f5b17a82196d25ddcdf124 (patch) | |
tree | b1a0dea2ae57246ff407a7608618ff12bb77204f /test/rubygems/test_gem_install_update_options.rb | |
parent | 65e276096f2b5ace95d07ac15af545362e0714c1 (diff) |
util/rubocop -A --only Style/NumericLiteralPrefix
Diffstat (limited to 'test/rubygems/test_gem_install_update_options.rb')
-rw-r--r-- | test/rubygems/test_gem_install_update_options.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rubygems/test_gem_install_update_options.rb b/test/rubygems/test_gem_install_update_options.rb index 9b136363d0..f3bd1c6d5e 100644 --- a/test/rubygems/test_gem_install_update_options.rb +++ b/test/rubygems/test_gem_install_update_options.rb @@ -146,8 +146,8 @@ class TestGemInstallUpdateOptions < Gem::InstallerTestCase refute @cmd.options[:user_install] - FileUtils.chmod 0755, @userhome - FileUtils.chmod 0000, @gemhome + FileUtils.chmod 0o755, @userhome + FileUtils.chmod 0o000, @gemhome Gem.use_paths @gemhome, @userhome @@ -156,7 +156,7 @@ class TestGemInstallUpdateOptions < Gem::InstallerTestCase end end ensure - FileUtils.chmod 0755, @gemhome + FileUtils.chmod 0o755, @gemhome end def test_vendor |