From 7112c6a1c15b26eebf0c020dfee7abd30eebde2d Mon Sep 17 00:00:00 2001 From: hsbt Date: Tue, 6 Feb 2018 02:58:35 +0000 Subject: Merge RubyGems-2.7.5 from upstream. Please see its details: http://blog.rubygems.org/2018/02/06/2.7.5-released.html git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/rubygems/test_gem_install_update_options.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/rubygems/test_gem_install_update_options.rb') diff --git a/test/rubygems/test_gem_install_update_options.rb b/test/rubygems/test_gem_install_update_options.rb index 69a2b61041..371e408d27 100644 --- a/test/rubygems/test_gem_install_update_options.rb +++ b/test/rubygems/test_gem_install_update_options.rb @@ -141,7 +141,7 @@ class TestGemInstallUpdateOptions < Gem::InstallerTestCase def test_user_install_disabled_read_only if win_platform? skip('test_user_install_disabled_read_only test skipped on MS Windows') - elsif Process.uid == 0 + elsif Process.uid.zero? skip('test_user_install_disabled_read_only test skipped in root privilege') else @cmd.handle_options %w[--no-user-install] -- cgit v1.2.3