Skip to content

Commit

Permalink
[ruby/irb] Suppress "Switch to inspect mode" messages
Browse files Browse the repository at this point in the history
This message is displayed if STDIN is not a tty.  The parallel test is
the case.

ruby/irb@e26e90e3fb
  • Loading branch information
nobu authored and matzbot committed Oct 16, 2023
1 parent 598af0e commit 06a4011
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/irb/test_completion.rb
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ def setup
save_encodings
@verbose, $VERBOSE = $VERBOSE, nil
IRB.init_config(nil)
IRB.conf[:VERBOSE] = false
IRB.conf[:MAIN_CONTEXT] = IRB::Context.new(IRB::WorkSpace.new(binding))
end

Expand Down

0 comments on commit 06a4011

Please sign in to comment.