[rubygems/rubygems] [test_gem_install_update_options.rb] Fix linter warnings.
https://github.com/rubygems/rubygems/commit/cdcb8394f6
This commit is contained in:
parent
4925570de2
commit
262f345344
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user