1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/irb
Peter Jones e0bfdb23af [ruby/irb] Ensure stdout is a TTY before calling winsize
When outputting a (possibly truncated) value, IRB will query the
window size.  However, if IRB was piped to another process, stdout
will no longer be a TTY and will not support the `winsize` method.

This fix ensure that stdout is a TTY.

https://github.com/ruby/irb/commit/125de5eeea
2022-06-26 14:40:48 +09:00
..
yamatanooroti [ruby/irb] Add tests for truncated show doc dialog 2021-10-08 10:34:20 +09:00
test_cmd.rb [ruby/irb] Remove unnecessary space in regexp 2021-12-20 16:19:37 +09:00
test_color.rb
test_color_printer.rb
test_completion.rb [ruby/irb] Ignore parenthesis during completion 2021-10-13 06:33:48 +09:00
test_context.rb [ruby/irb] Ensure stdout is a TTY before calling winsize 2022-06-26 14:40:48 +09:00
test_history.rb
test_init.rb Skip TestIRB::TestInit#test_recovery_sigint on Solaris 2021-11-05 20:03:11 +09:00
test_option.rb
test_raise_no_backtrace_exception.rb
test_ruby_lex.rb [ruby/irb] Examine indentation of in keyword when trying to type include 2021-12-03 00:56:43 +09:00
test_workspace.rb