diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-04-05 10:50:15 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-04-05 05:49:25 +0000 |
commit | a464951fc79271a87d09a13f8fd9965dda6e2e61 (patch) | |
tree | fd3610e162e702da9a20a52a14a5f4dc637074a0 /test/rubygems/test_gem_uninstaller.rb | |
parent | cbeea5f3e6a5b5112ff5973c02c934ed415e2dc7 (diff) |
[rubygems/rubygems] Unify win_platform? to Gem.win_platform?
https://github.com/rubygems/rubygems/commit/b18a4ef076
Diffstat (limited to 'test/rubygems/test_gem_uninstaller.rb')
-rw-r--r-- | test/rubygems/test_gem_uninstaller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rubygems/test_gem_uninstaller.rb b/test/rubygems/test_gem_uninstaller.rb index ecbc898ad7..212cf8c9a0 100644 --- a/test/rubygems/test_gem_uninstaller.rb +++ b/test/rubygems/test_gem_uninstaller.rb @@ -252,12 +252,12 @@ class TestGemUninstaller < Gem::InstallerTestCase gem_dir = File.join @gemhome, "gems", @spec.full_name Gem.pre_uninstall do - sleep(0.1) if win_platform? + sleep(0.1) if Gem.win_platform? assert File.exist?(gem_dir), "gem_dir should exist" end Gem.post_uninstall do - sleep(0.1) if win_platform? + sleep(0.1) if Gem.win_platform? refute File.exist?(gem_dir), "gem_dir should not exist" end |