From d281347abbbe7f3b588646977a21b8f929aaa5bb Mon Sep 17 00:00:00 2001 From: Samuel Williams Date: Sat, 25 Jun 2022 20:12:21 +1200 Subject: [PATCH] [ruby/io-wait] Fix usage of `assert_raises` -> `assert_raise`. (https://github.com/ruby/io-wait/pull/20) https://github.com/ruby/io-wait/commit/c5c6abbb5c --- test/io/wait/test_io_wait.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/io/wait/test_io_wait.rb b/test/io/wait/test_io_wait.rb index 9ef19b1bb3..fb42b6a700 100644 --- a/test/io/wait/test_io_wait.rb +++ b/test/io/wait/test_io_wait.rb @@ -177,14 +177,14 @@ class TestIOWait < Test::Unit::TestCase def test_wait_mask_zero omit("Missing IO::WRITABLE!") unless IO.const_defined?(:WRITABLE) - assert_raises(ArgumentError) do + assert_raise(ArgumentError) do @w.wait(0, 0) end end def test_wait_mask_negative omit("Missing IO::WRITABLE!") unless IO.const_defined?(:WRITABLE) - assert_raises(ArgumentError) do + assert_raise(ArgumentError) do @w.wait(-6, 0) end end