summaryrefslogtreecommitdiff
path: root/test/socket
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-28 22:59:07 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-28 22:59:07 +0000
commit4bf480b7d5b45b6ba09d25fd35a3f20cea8cffdb (patch)
tree2d6f4988dc19e7f2c5b89de0fc1f133b9eb7ff1c /test/socket
parent205e69064605f0c0954750334e366386c1e7e999 (diff)
Suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/socket')
-rw-r--r--test/socket/test_unix.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/socket/test_unix.rb b/test/socket/test_unix.rb
index 5583cb6..7e82e6c 100644
--- a/test/socket/test_unix.rb
+++ b/test/socket/test_unix.rb
@@ -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
}
}