summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-06-08 06:15:23 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-06-08 06:15:23 +0000
commitf69d45351bbee2670c6c99ae56861a1c106ef46d (patch)
tree3dc945cd4fd708f33d75fd8387a34cc02c57f419 /test
parent77d9fbe2c6d5fd26a25c1e8a733f4fdc4af94ba4 (diff)
downloadruby-f69d45351bbee2670c6c99ae56861a1c106ef46d.tar.gz
th is nil
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/net/http/test_http.rb4
1 files 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