summaryrefslogtreecommitdiff
path: root/test/open-uri
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2022-10-06 17:12:46 +0900
committergit <svn-admin@ruby-lang.org>2022-10-06 17:15:27 +0900
commit7f80ec47c3e6a1ac4f8c3e626d51ef6598d65b1c (patch)
treef02adf24d87715ddc1a6e5118d4d5c277521047b /test/open-uri
parentcc5313ceab756887e5dcddcb3b293a842a01fbac (diff)
downloadruby-7f80ec47c3e6a1ac4f8c3e626d51ef6598d65b1c.tar.gz
[ruby/open-uri] Use omit instead of skip for test-unit
https://github.com/ruby/open-uri/commit/63f466d6ed
Diffstat (limited to 'test/open-uri')
-rw-r--r--test/open-uri/test_open-uri.rb4
1 files 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