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

Suppress warnings.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2014-05-28 22:59:07 +00:00
parent 205e690646
commit 4bf480b7d5

View file

@ -67,7 +67,7 @@ class TestSocket_UNIXSocket < Test::Unit::TestCase
assert(recv_io_ary[i].close_on_exec?)
}
ensure
recv_io_ary.each {|io| io.close if !io.closed? }
recv_io_ary.each {|io2| io2.close if !io2.closed? }
end
}
}
@ -108,7 +108,7 @@ class TestSocket_UNIXSocket < Test::Unit::TestCase
assert(recv_io_ary[i].close_on_exec?)
}
ensure
recv_io_ary.each {|io| io.close if !io.closed? }
recv_io_ary.each {|io2| io2.close if !io2.closed? }
end
}
}