[ruby/open-uri] Run global constant count test only under Ruby 3.2
https://github.com/ruby/open-uri/commit/a8f1605ae9
This commit is contained in:
parent
d15b38d944
commit
cc5313ceab
@ -904,6 +904,7 @@ class TestOpenURI < Test::Unit::TestCase
|
||||
|
||||
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)
|
||||
|
||||
OpenURI::Meta.init(Object.new) # prewarm
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user