diff options
Diffstat (limited to 'test/io/console')
-rw-r--r-- | test/io/console/test_io_console.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/io/console/test_io_console.rb b/test/io/console/test_io_console.rb index f9f7b3d18b..581500dfd7 100644 --- a/test/io/console/test_io_console.rb +++ b/test/io/console/test_io_console.rb @@ -257,6 +257,7 @@ defined?(PTY) and defined?(IO.console) and TestIO_Console.class_eval do else assert(false, "winsize on #{path} succeed: #{s.inspect}") end + assert_raise(ArgumentError) {io.winsize = [0, 0, 0]} end end end |