summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/io/console/test_io_console.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/io/console/test_io_console.rb b/test/io/console/test_io_console.rb
index 59384533ad..261ebbc498 100644
--- a/test/io/console/test_io_console.rb
+++ b/test/io/console/test_io_console.rb
@@ -31,7 +31,7 @@ class TestIO_Console < Test::Unit::TestCase
end
def test_failed_path
- exceptions = %i[ENODEV ENOTTY].map {|e|
+ exceptions = %i[ENODEV ENOTTY EBADF].map {|e|
Errno.const_get(e) if Errno.const_defined?(e)
}
exceptions.compact!