summaryrefslogtreecommitdiff
path: root/test/socket/test_unix.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/socket/test_unix.rb')
-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 829eaa9..a10f2e5 100644
--- a/test/socket/test_unix.rb
+++ b/test/socket/test_unix.rb
@@ -665,8 +665,8 @@ class TestSocket_UNIXSocket < Test::Unit::TestCase
def test_accept_nonblock
bound_unix_socket(UNIXServer) {|serv, path|
- assert_raises(IO::WaitReadable) { serv.accept_nonblock }
- assert_raises(IO::WaitReadable) { serv.accept_nonblock(exception: true) }
+ assert_raise(IO::WaitReadable) { serv.accept_nonblock }
+ assert_raise(IO::WaitReadable) { serv.accept_nonblock(exception: true) }
assert_equal :wait_readable, serv.accept_nonblock(exception: false)
}
end