summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-04-04 11:53:11 +0900
committergit <svn-admin@ruby-lang.org>2023-07-21 08:47:55 +0000
commit7fdf98ef39cc7b079502f0faa086b31f16f3b0c6 (patch)
tree338f4c60cf0f4edcf90d202c2db413115781964e /test
parentf602cb55d72a1461328c0eeda04a05eadd8d4b69 (diff)
[rubygems/rubygems] Deprecate Gem::Platform.match
https://github.com/rubygems/rubygems/commit/e3ba3e2225
Diffstat (limited to 'test')
-rw-r--r--test/rubygems/test_gem_platform.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/rubygems/test_gem_platform.rb b/test/rubygems/test_gem_platform.rb
index 4c715d5b2d..e4bf882317 100644
--- a/test/rubygems/test_gem_platform.rb
+++ b/test/rubygems/test_gem_platform.rb
@@ -483,8 +483,10 @@ class TestGemPlatform < Gem::TestCase
def test_gem_platform_match_with_string_argument
util_set_arch "x86_64-linux-musl"
- assert(Gem::Platform.match(Gem::Platform.new("x86_64-linux")), "should match Gem::Platform")
- assert(Gem::Platform.match("x86_64-linux"), "should match String platform")
+ Gem::Deprecate.skip_during do
+ assert(Gem::Platform.match(Gem::Platform.new("x86_64-linux")), "should match Gem::Platform")
+ assert(Gem::Platform.match("x86_64-linux"), "should match String platform")
+ end
end
def assert_local_match(name)