diff options
author | Ellen Marie Dash <[email protected]> | 2023-09-28 21:59:15 -0400 |
---|---|---|
committer | git <[email protected]> | 2023-10-11 19:07:26 +0000 |
commit | 262f345344e23fb6db45e3796d3f717f30207f9e (patch) | |
tree | 7b849dd450cbe5a0038a388e15383ae52f6c3bb6 | |
parent | 4925570de260def52f722b0aec59ca6ef5b53cb9 (diff) |
[rubygems/rubygems] [test_gem_install_update_options.rb] Fix linter warnings.
https://github.com/rubygems/rubygems/commit/cdcb8394f6
-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 7342def5e9..fd1077faa5 100644 --- a/test/rubygems/test_gem_install_update_options.rb +++ b/test/rubygems/test_gem_install_update_options.rb @@ -176,14 +176,14 @@ 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 @cmd.install_update_options.include?(:user_install) ensure - FileUtils.chmod 0755, @gemhome + FileUtils.chmod 0o755, @gemhome end def test_vendor |