diff options
author | Hiroshi SHIBATA <[email protected]> | 2022-01-11 21:38:05 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2022-01-12 10:49:58 +0900 |
commit | c02a9994cea77d13a9ce8677a1b46dfb8da67d0f (patch) | |
tree | 3fdc05bd4bad9d91d8f6e94ab0f2cc3b109c8d90 /test/resolv | |
parent | d494a16ac5d39544b1a5b317414f27f90678a3a5 (diff) |
[ruby/resolv] Use omit instead of skip for test-unit
https://github.com/ruby/resolv/commit/55e42221d4
Diffstat (limited to 'test/resolv')
-rw-r--r-- | test/resolv/test_dns.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/resolv/test_dns.rb b/test/resolv/test_dns.rb index 5171604a82..9d243bbf50 100644 --- a/test/resolv/test_dns.rb +++ b/test/resolv/test_dns.rb @@ -72,7 +72,7 @@ class TestResolvDNS < Test::Unit::TestCase begin OpenSSL rescue LoadError - skip 'autoload problem. see [ruby-dev:45021][Bug #5786]' + omit 'autoload problem. see [ruby-dev:45021][Bug #5786]' end if defined?(OpenSSL) with_udp('127.0.0.1', 0) {|u| @@ -161,7 +161,7 @@ class TestResolvDNS < Test::Unit::TestCase begin OpenSSL rescue LoadError - skip 'autoload problem. see [ruby-dev:45021][Bug #5786]' + omit 'autoload problem. see [ruby-dev:45021][Bug #5786]' end if defined?(OpenSSL) with_udp('127.0.0.1', 0) {|u| @@ -297,7 +297,7 @@ class TestResolvDNS < Test::Unit::TestCase end def test_no_server - skip if /mswin/ =~ RUBY_PLATFORM && ENV.key?('GITHUB_ACTIONS') # not working from the beginning + omit if /mswin/ =~ RUBY_PLATFORM && ENV.key?('GITHUB_ACTIONS') # not working from the beginning u = UDPSocket.new u.bind("127.0.0.1", 0) _, port, _, host = u.addr @@ -314,7 +314,7 @@ class TestResolvDNS < Test::Unit::TestCase rescue Timeout::Error if RUBY_PLATFORM.match?(/mingw/) # cannot repo locally - skip 'Timeout Error on MinGW CI' + omit 'Timeout Error on MinGW CI' else raise Timeout::Error end |