зеркало из https://github.com/github/ruby.git
[ruby/io-console] Fails with EBADF on mingw
https://github.com/ruby/io-console/commit/530cec574c
This commit is contained in:
Родитель
d7a59e2ffe
Коммит
581763d14c
|
@ -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!
|
||||
|
|
Загрузка…
Ссылка в новой задаче