summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/resolv/test_dns.rb4
1 files changed, 2 insertions, 2 deletions
@@ -89,8 +89,8 @@ class TestResolvDNS < Test::Unit::TestCase
# If we get to this point, we have a valid t & u socket
yield us.last, ts.last
ensure
- ts.each { _1.close }
- us.each { _1.close }
end
else
# Explicitly specified port, don't retry the bind.