diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-06-10 03:10:13 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-06-10 03:10:13 +0000 |
commit | d89d4e93afefa30137ed64c1efbd3750f76b6112 (patch) | |
tree | 3a23c49a23f0f908c19b90cbf2f77e035ac6da18 /test | |
parent | 8e95d051a8ae92dee786a39ed1226259db15b253 (diff) | |
download | ruby-d89d4e93afefa30137ed64c1efbd3750f76b6112.tar.gz |
Use `&.` instead of modifier if
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/testunit/test_parallel.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testunit/test_parallel.rb b/test/testunit/test_parallel.rb index 086764535f..89b5bfa50b 100644 --- a/test/testunit/test_parallel.rb +++ b/test/testunit/test_parallel.rb @@ -151,7 +151,7 @@ module TestParallel rescue Timeout::Error Process.kill(:KILL, @test_pid) if @test_pid ensure - @test_out.close if @test_out + @test_out&.close end end |