mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue