[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]
|
refute @cmd.options[:user_install]
|
||||||
|
|
||||||
FileUtils.chmod 0755, @userhome
|
FileUtils.chmod 0o755, @userhome
|
||||||
FileUtils.chmod 0000, @gemhome
|
FileUtils.chmod 0o000, @gemhome
|
||||||
|
|
||||||
Gem.use_paths @gemhome, @userhome
|
Gem.use_paths @gemhome, @userhome
|
||||||
|
|
||||||
@cmd.install_update_options.include?(:user_install)
|
@cmd.install_update_options.include?(:user_install)
|
||||||
ensure
|
ensure
|
||||||
FileUtils.chmod 0755, @gemhome
|
FileUtils.chmod 0o755, @gemhome
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_vendor
|
def test_vendor
|
||||||
|
Loading…
x
Reference in New Issue
Block a user