summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_install_update_options.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-04-05 10:50:15 +0900
committergit <svn-admin@ruby-lang.org>2023-04-05 05:49:25 +0000
commita464951fc79271a87d09a13f8fd9965dda6e2e61 (patch)
treefd3610e162e702da9a20a52a14a5f4dc637074a0 /test/rubygems/test_gem_install_update_options.rb
parentcbeea5f3e6a5b5112ff5973c02c934ed415e2dc7 (diff)
[rubygems/rubygems] Unify win_platform? to Gem.win_platform?
https://github.com/rubygems/rubygems/commit/b18a4ef076
Diffstat (limited to 'test/rubygems/test_gem_install_update_options.rb')
-rw-r--r--test/rubygems/test_gem_install_update_options.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_install_update_options.rb b/test/rubygems/test_gem_install_update_options.rb
index 1526eadcb6..9b136363d0 100644
--- a/test/rubygems/test_gem_install_update_options.rb
+++ b/test/rubygems/test_gem_install_update_options.rb
@@ -137,7 +137,7 @@ class TestGemInstallUpdateOptions < Gem::InstallerTestCase
util_build_gem @spec
@gem = @spec.cache_file
- if win_platform?
+ if Gem.win_platform?
pend("test_user_install_disabled_read_only test skipped on MS Windows")
elsif Process.uid.zero?
pend("test_user_install_disabled_read_only test skipped in root privilege")