[前][次][番号順一覧][スレッド一覧]

ruby-changes:70822

From: Hiroshi <ko1@a...>
Date: Tue, 11 Jan 2022 21:45:46 +0900 (JST)
Subject: [ruby-changes:70822] 9b3dcf193c (master): [ruby/net-http] Use omit instead of skip for test-unit

https://git.ruby-lang.org/ruby.git/commit/?id=9b3dcf193c

From 9b3dcf193c8a39b1316f0f2c6d9da5998a830663 Mon Sep 17 00:00:00 2001
From: Hiroshi SHIBATA <hsbt@r...>
Date: Tue, 11 Jan 2022 21:39:34 +0900
Subject: [ruby/net-http] Use omit instead of skip for test-unit

https://github.com/ruby/net-http/commit/843d4548de
---
 test/net/http/test_https.rb       | 4 ++--
 test/net/http/test_https_proxy.rb | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/net/http/test_https.rb b/test/net/http/test_https.rb
index f62fd8c3235..1593c91df0c 100644
--- a/test/net/http/test_https.rb
+++ b/test/net/http/test_https.rb
@@ -137,7 +137,7 @@ class TestNetHTTPS < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/net/http/test_https.rb#L137
   def test_session_reuse
     # FIXME: The new_session_cb is known broken for clients in OpenSSL 1.1.0h.
     # See https://github.com/openssl/openssl/pull/5967 for details.
-    skip if OpenSSL::OPENSSL_LIBRARY_VERSION =~ /OpenSSL 1.1.0h/
+    omit if OpenSSL::OPENSSL_LIBRARY_VERSION =~ /OpenSSL 1.1.0h/
 
     http = Net::HTTP.new(HOST, config("port"))
     http.use_ssl = true
@@ -164,7 +164,7 @@ class TestNetHTTPS < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/net/http/test_https.rb#L164
 
   def test_session_reuse_but_expire
     # FIXME: The new_session_cb is known broken for clients in OpenSSL 1.1.0h.
-    skip if OpenSSL::OPENSSL_LIBRARY_VERSION =~ /OpenSSL 1.1.0h/
+    omit if OpenSSL::OPENSSL_LIBRARY_VERSION =~ /OpenSSL 1.1.0h/
 
     http = Net::HTTP.new(HOST, config("port"))
     http.use_ssl = true
diff --git a/test/net/http/test_https_proxy.rb b/test/net/http/test_https_proxy.rb
index f833f1a1e3f..4c2a92ccd62 100644
--- a/test/net/http/test_https_proxy.rb
+++ b/test/net/http/test_https_proxy.rb
@@ -10,7 +10,7 @@ class HTTPSProxyTest < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/net/http/test_https_proxy.rb#L10
     begin
       OpenSSL
     rescue LoadError
-      skip 'autoload problem. see [ruby-dev:45021][Bug #5786]'
+      omit 'autoload problem. see [ruby-dev:45021][Bug #5786]'
     end
 
     TCPServer.open("127.0.0.1", 0) {|serv|
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]