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:
parent
cc5313ceab
commit
7f80ec47c3
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue