[rubygems/rubygems] [test_gem_install_update_options.rb] Fix linter warnings.

https://github.com/rubygems/rubygems/commit/cdcb8394f6
This commit is contained in:
Ellen Marie Dash 2023-09-28 21:59:15 -04:00 committed by git
parent 4925570de2
commit 262f345344

View File

@ -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