From ae042f21fb695fc80eb19273fa542e8dad85f19f Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 2 Jun 2015 02:18:44 +0000 Subject: use assert_raise git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/socket/test_nonblock.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/socket/test_nonblock.rb') diff --git a/test/socket/test_nonblock.rb b/test/socket/test_nonblock.rb index 8086c38e88..d058add782 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_raises(IO::WaitWritable) do + assert_raise(IO::WaitWritable) do loop { s1.sendmsg_nonblock(buf) } end end -- cgit v1.2.3