diff options
author | Nobuyoshi Nakada <[email protected]> | 2020-05-09 14:50:43 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2020-05-09 14:51:43 +0900 |
commit | 581763d14c63316f22c8685a624547f28d43a8af (patch) | |
tree | 2d2083a19542c0a1a8fe741c9b28025d4b7c493e /test/io/console/test_io_console.rb | |
parent | d7a59e2ffe45b27c084a8fe8cfe12b63dd1e6de8 (diff) |
[ruby/io-console] Fails with EBADF on mingw
https://github.com/ruby/io-console/commit/530cec574c
Diffstat (limited to 'test/io/console/test_io_console.rb')
-rw-r--r-- | test/io/console/test_io_console.rb | 2 |
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! |