aboutsummaryrefslogtreecommitdiffstats
path: root/test/socket/test_nonblock.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-19 12:45:40 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-19 12:45:40 +0000
commit758f9510a61ee4e7914ff1dae7046a6737029776 (patch)
tree6e9b2ecdd06790025314d684c45208cc6d1dac1c /test/socket/test_nonblock.rb
parentc4049f4cb6d27ffdfe9f15f4a9ddc5a48271ecf3 (diff)
downloadruby-758f9510a61ee4e7914ff1dae7046a6737029776.tar.gz
use IO::WaitWritable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/socket/test_nonblock.rb')
-rw-r--r--test/socket/test_nonblock.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/socket/test_nonblock.rb b/test/socket/test_nonblock.rb
index 6b65cc386a..e8e7fca95f 100644
--- a/test/socket/test_nonblock.rb
+++ b/test/socket/test_nonblock.rb
@@ -36,7 +36,7 @@ class TestSocketNonblock < Test::Unit::TestCase
servaddr = serv.getsockname
begin
c.connect_nonblock(servaddr)
- rescue Errno::EINPROGRESS
+ rescue IO::WaitWritable
IO.select nil, [c]
assert_nothing_raised {
begin