Skip to content

Commit 843d454

Browse files
committed
Use omit instead of skip for test-unit
1 parent 6ab399d commit 843d454

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/net/http/test_https.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def test_post
137137
def test_session_reuse
138138
# FIXME: The new_session_cb is known broken for clients in OpenSSL 1.1.0h.
139139
# See https://github.com/openssl/openssl/pull/5967 for details.
140-
skip if OpenSSL::OPENSSL_LIBRARY_VERSION =~ /OpenSSL 1.1.0h/
140+
omit if OpenSSL::OPENSSL_LIBRARY_VERSION =~ /OpenSSL 1.1.0h/
141141

142142
http = Net::HTTP.new(HOST, config("port"))
143143
http.use_ssl = true
@@ -164,7 +164,7 @@ def test_session_reuse
164164

165165
def test_session_reuse_but_expire
166166
# FIXME: The new_session_cb is known broken for clients in OpenSSL 1.1.0h.
167-
skip if OpenSSL::OPENSSL_LIBRARY_VERSION =~ /OpenSSL 1.1.0h/
167+
omit if OpenSSL::OPENSSL_LIBRARY_VERSION =~ /OpenSSL 1.1.0h/
168168

169169
http = Net::HTTP.new(HOST, config("port"))
170170
http.use_ssl = true

test/net/http/test_https_proxy.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def test_https_proxy_authentication
1010
begin
1111
OpenSSL
1212
rescue LoadError
13-
skip 'autoload problem. see [ruby-dev:45021][Bug #5786]'
13+
omit 'autoload problem. see [ruby-dev:45021][Bug #5786]'
1414
end
1515

1616
TCPServer.open("127.0.0.1", 0) {|serv|

0 commit comments

Comments
 (0)