Skip to content

Fix display_document test fails in tty environment#1185

Open
tompng wants to merge 1 commit intoruby:masterfrom
tompng:fix_display_document_in_tty
Open

Fix display_document test fails in tty environment#1185
tompng wants to merge 1 commit intoruby:masterfrom
tompng:fix_display_document_in_tty

Conversation

@tompng
Copy link
Member

@tompng tompng commented Mar 14, 2026

Fix rake test TEST=test/irb/test_input_method.rb failure in tty environment.

In non-tty environment (example: echo | rake test TEST=test/irb/test_input_method.rb), test passes.
When running in tty environment, document will be directly rendered to console by pager command, and won't be captured by capture_output, so we need to disable pager.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants