mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/io-console] Fails with EBADF on mingw
https://github.com/ruby/io-console/commit/530cec574c
This commit is contained in:
parent
d7a59e2ffe
commit
581763d14c
1 changed files with 1 additions and 1 deletions
|
@ -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!
|
||||
|
|
Loading…
Add table
Reference in a new issue