ruby-changes:72309
From: Samuel <ko1@a...>
Date: Sat, 25 Jun 2022 17:12:44 +0900 (JST)
Subject: [ruby-changes:72309] d281347abb (master): [ruby/io-wait] Fix usage of `assert_raises` -> `assert_raise`. (https://github.com/ruby/io-wait/pull/20)
https://git.ruby-lang.org/ruby.git/commit/?id=d281347abb From d281347abbbe7f3b588646977a21b8f929aaa5bb Mon Sep 17 00:00:00 2001 From: Samuel Williams <samuel.williams@o...> Date: Sat, 25 Jun 2022 20:12:21 +1200 Subject: [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 https://github.com/ruby/ruby/blob/trunk/test/io/wait/test_io_wait.rb#L177 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 -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/