Skip to content

Commit

Permalink
[ruby/io-wait] Fix usage of assert_raises -> assert_raise. (ruby/…
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix authored and matzbot committed Jun 25, 2022
1 parent 7e68762 commit d281347
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/io/wait/test_io_wait.rb
Expand Up @@ -177,14 +177,14 @@ def test_wait_mask_readable

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
Expand Down

0 comments on commit d281347

Please sign in to comment.