aboutsummaryrefslogtreecommitdiffstats
path: root/test/openssl
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-14 08:04:28 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-14 08:04:28 +0000
commit6cf568f4b56dcafc5c0fe84df2c0d2491fb0c62b (patch)
treed38103e91a35989ac33514fe49d7875bd11d3e37 /test/openssl
parentc81b224edca453ed8ea3030cc74b2ede5ac9e63a (diff)
downloadruby-6cf568f4b56dcafc5c0fe84df2c0d2491fb0c62b.tar.gz
* bootstraptest/runner.rb: use safe navigation operator.
[fix GH-1142] Patch by @mlarraz * test/openssl/test_pair.rb: ditto. * test/ruby/test_econv.rb: ditto. * test/ruby/test_settracefunc.rb: ditto. * test/thread/test_queue.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/openssl')
-rw-r--r--test/openssl/test_pair.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/openssl/test_pair.rb b/test/openssl/test_pair.rb
index 932426572f..33ec555492 100644
--- a/test/openssl/test_pair.rb
+++ b/test/openssl/test_pair.rb
@@ -49,7 +49,7 @@ module OpenSSL::SSLPairM
return c, s
end
ensure
- if th && th.alive?
+ if th&.alive?
th.kill
th.join
end