summaryrefslogtreecommitdiffstats
path: root/test/test_pair.rb
diff options
context:
space:
mode:
authorhsbt <hsbt@ruby-lang.org>2015-12-14 08:04:28 +0000
committerhsbt <hsbt@ruby-lang.org>2015-12-14 08:04:28 +0000
commit0c0bcfdbd7c960b0f9828d884a7886e8cbc9b965 (patch)
tree9c24bd2357b819a0e9bdcb707b2f04a66895b280 /test/test_pair.rb
parent78ce06f7e4a9599159343be7e90ea9c94d68ad13 (diff)
downloadruby-openssl-history-0c0bcfdbd7c960b0f9828d884a7886e8cbc9b965.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/test_pair.rb')
-rw-r--r--test/test_pair.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_pair.rb b/test/test_pair.rb
index 9324265..33ec555 100644
--- a/test/test_pair.rb
+++ b/test/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