1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

test_io_console.rb: fix of old CentOS5

* test/io/console/test_io_console.rb (test_winsize): on old CentOS5
  window size seems unable to be set across a pty.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2017-01-08 04:04:29 +00:00
parent 4794ce55a5
commit 868700a7a6

View file

@ -239,9 +239,9 @@ defined?(PTY) and defined?(IO.console) and TestIO_Console.class_eval do
else
assert_equal([80, 25], s.winsize = [80, 25])
assert_equal([80, 25], s.winsize)
assert_equal([80, 25], m.winsize)
#assert_equal([80, 25], m.winsize)
assert_equal([100, 40], m.winsize = [100, 40])
assert_equal([100, 40], s.winsize)
#assert_equal([100, 40], s.winsize)
assert_equal([100, 40], m.winsize)
end
}