From 7f80ec47c3e6a1ac4f8c3e626d51ef6598d65b1c Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 6 Oct 2022 17:12:46 +0900 Subject: [PATCH] [ruby/open-uri] Use omit instead of skip for test-unit https://github.com/ruby/open-uri/commit/63f466d6ed --- test/open-uri/test_open-uri.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/open-uri/test_open-uri.rb b/test/open-uri/test_open-uri.rb index a442f59b29..fdd1969666 100644 --- a/test/open-uri/test_open-uri.rb +++ b/test/open-uri/test_open-uri.rb @@ -903,8 +903,8 @@ class TestOpenURI < Test::Unit::TestCase end def test_meta_init_doesnt_bump_global_constant_state - skip "RubyVM.stat not defined" unless defined? RubyVM.stat - skip unless RubyVM.stat.has_key?(:global_constant_state) + omit "RubyVM.stat not defined" unless defined? RubyVM.stat + omit unless RubyVM.stat.has_key?(:global_constant_state) OpenURI::Meta.init(Object.new) # prewarm