summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_install_update_options.rb
diff options
context:
space:
mode:
authorEllen Marie Dash <me@duckie.co>2023-09-28 21:59:15 -0400
committergit <svn-admin@ruby-lang.org>2023-10-11 19:07:26 +0000
commit262f345344e23fb6db45e3796d3f717f30207f9e (patch)
tree7b849dd450cbe5a0038a388e15383ae52f6c3bb6 /test/rubygems/test_gem_install_update_options.rb
parent4925570de260def52f722b0aec59ca6ef5b53cb9 (diff)
[rubygems/rubygems] [test_gem_install_update_options.rb] Fix linter warnings.
https://github.com/rubygems/rubygems/commit/cdcb8394f6
Diffstat (limited to 'test/rubygems/test_gem_install_update_options.rb')
-rw-r--r--test/rubygems/test_gem_install_update_options.rb6
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