From f69d45351bbee2670c6c99ae56861a1c106ef46d Mon Sep 17 00:00:00 2001 From: usa Date: Fri, 8 Jun 2018 06:15:23 +0000 Subject: [PATCH] th is nil git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/net/http/test_http.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/net/http/test_http.rb b/test/net/http/test_http.rb index fbfe7442b0..e6897d2147 100644 --- a/test/net/http/test_http.rb +++ b/test/net/http/test_http.rb @@ -549,8 +549,8 @@ module TestNetHTTP_version_1_1_methods assert th.join(10) } ensure - th.kill - th.join + th&.kill + th&.join end def test_timeout_during_HTTP_session