Skip to content

Commit 55e4222

Browse files
committed
Use omit instead of skip for test-unit
1 parent 993a1a3 commit 55e4222

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/resolv/test_dns.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def test_query_ipv4_address
7272
begin
7373
OpenSSL
7474
rescue LoadError
75-
skip 'autoload problem. see [ruby-dev:45021][Bug #5786]'
75+
omit 'autoload problem. see [ruby-dev:45021][Bug #5786]'
7676
end if defined?(OpenSSL)
7777

7878
with_udp('127.0.0.1', 0) {|u|
@@ -161,7 +161,7 @@ def test_query_ipv4_duplicate_responses
161161
begin
162162
OpenSSL
163163
rescue LoadError
164-
skip 'autoload problem. see [ruby-dev:45021][Bug #5786]'
164+
omit 'autoload problem. see [ruby-dev:45021][Bug #5786]'
165165
end if defined?(OpenSSL)
166166

167167
with_udp('127.0.0.1', 0) {|u|
@@ -297,7 +297,7 @@ def test_query_ipv4_address_timeout
297297
end
298298

299299
def test_no_server
300-
skip if /mswin/ =~ RUBY_PLATFORM && ENV.key?('GITHUB_ACTIONS') # not working from the beginning
300+
omit if /mswin/ =~ RUBY_PLATFORM && ENV.key?('GITHUB_ACTIONS') # not working from the beginning
301301
u = UDPSocket.new
302302
u.bind("127.0.0.1", 0)
303303
_, port, _, host = u.addr
@@ -314,7 +314,7 @@ def test_no_server
314314
rescue Timeout::Error
315315
if RUBY_PLATFORM.match?(/mingw/)
316316
# cannot repo locally
317-
skip 'Timeout Error on MinGW CI'
317+
omit 'Timeout Error on MinGW CI'
318318
else
319319
raise Timeout::Error
320320
end

0 commit comments

Comments
 (0)