diff options
author | hsbt <hsbt@ruby-lang.org> | 2015-12-14 08:04:28 +0000 |
---|---|---|
committer | hsbt <hsbt@ruby-lang.org> | 2015-12-14 08:04:28 +0000 |
commit | 0c0bcfdbd7c960b0f9828d884a7886e8cbc9b965 (patch) | |
tree | 9c24bd2357b819a0e9bdcb707b2f04a66895b280 /test/test_pair.rb | |
parent | 78ce06f7e4a9599159343be7e90ea9c94d68ad13 (diff) | |
download | ruby-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.rb | 2 |
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 |