ruby-changes:73458
From: Hiroshi <ko1@a...>
Date: Wed, 7 Sep 2022 09:42:34 +0900 (JST)
Subject: [ruby-changes:73458] bfa6d0f6d7 (master): fixup 8cd6f2a0872e74c6cc089d2a4f8140483080c67a
https://git.ruby-lang.org/ruby.git/commit/?id=bfa6d0f6d7 From bfa6d0f6d75f375e4055fb7f5af8194aa1de5947 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Wed, 7 Sep 2022 09:41:28 +0900 Subject: fixup 8cd6f2a0872e74c6cc089d2a4f8140483080c67a we should handle ensure block when omit this test --- test/socket/test_socket.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/socket/test_socket.rb b/test/socket/test_socket.rb index d061aee46a..e3ce2b920e 100644 --- a/test/socket/test_socket.rb +++ b/test/socket/test_socket.rb @@ -562,8 +562,6 @@ class TestSocket < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/socket/test_socket.rb#L562 end def test_closed_read - omit if RUBY_PLATFORM.include?("freebsd") - require 'timeout' require 'socket' bug4390 = '[ruby-core:35203]' @@ -585,7 +583,7 @@ class TestSocket < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/socket/test_socket.rb#L583 ensure serv_thread.value.close server.close - end + end unless RUBY_PLATFORM.include?("freebsd") def test_connect_timeout host = "127.0.0.1" -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/