1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/open-uri] Use omit instead of skip for test-unit

https://github.com/ruby/open-uri/commit/63f466d6ed
This commit is contained in:
Hiroshi SHIBATA 2022-10-06 17:12:46 +09:00 committed by git
parent cc5313ceab
commit 7f80ec47c3

View file

@ -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