summaryrefslogtreecommitdiffstats
path: root/test/socket/test_nonblock.rb
diff options
context:
space:
mode:
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 6b65cc386..e8e7fca95 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