1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Use &. instead of modifier if

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kazu 2018-06-10 03:10:13 +00:00
parent 8e95d051a8
commit d89d4e93af

View file

@ -151,7 +151,7 @@ module TestParallel
rescue Timeout::Error rescue Timeout::Error
Process.kill(:KILL, @test_pid) if @test_pid Process.kill(:KILL, @test_pid) if @test_pid
ensure ensure
@test_out.close if @test_out @test_out&.close
end end
end end