Skip to content

Commit

Permalink
Use omit as per test-unit
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Oct 22, 2021
1 parent 6f6039e commit 1f59f7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/io/wait/test_io_wait_uncommon.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def check_dev(dev, m = :wait_readable, mode: m == :wait_readable ? 'r' : 'w', &b
rescue Errno::ENOENT
return # Ignore silently
rescue SystemCallError => e
skip "#{dev} could not be opened #{e.message} (#{e.class})"
omit "#{dev} could not be opened #{e.message} (#{e.class})"
end
if block
yield fp
Expand Down

0 comments on commit 1f59f7b

Please sign in to comment.