aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 d058add782..b1959ee2c7 100644
--- a/test/socket/test_nonblock.rb
+++ b/test/socket/test_nonblock.rb
@@ -279,7 +279,7 @@ class TestSocketNonblock < Test::Unit::TestCase
def test_sendmsg_nonblock_seqpacket
buf = '*' * 10000
UNIXSocket.pair(:SEQPACKET) do |s1, s2|
- assert_raise(IO::WaitWritable) do
+ assert_raise(IO::WaitWritable,Errno::EMSGSIZE) do
loop { s1.sendmsg_nonblock(buf) }
end
end