From 262f345344e23fb6db45e3796d3f717f30207f9e Mon Sep 17 00:00:00 2001 From: Ellen Marie Dash Date: Thu, 28 Sep 2023 21:59:15 -0400 Subject: [PATCH] [rubygems/rubygems] [test_gem_install_update_options.rb] Fix linter warnings. https://github.com/rubygems/rubygems/commit/cdcb8394f6 --- test/rubygems/test_gem_install_update_options.rb | 6 +++--- 1 file 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