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

Fixed FD leak

This commit is contained in:
Nobuyoshi Nakada 2020-03-04 23:26:57 +09:00
parent 528a3a1797
commit f08cd708b1
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -212,6 +212,8 @@ class TestNetHTTPS < Test::Unit::TestCase
http.cert_store = TEST_STORE
http.verify_hostname = false
assert_nothing_raised { http.start }
ensure
http&.finish
end
end