Skip to content

Commit

Permalink
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.
  • Loading branch information
nobu committed Oct 16, 2023
1 parent ef77c23 commit e26e90e
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 e26e90e

Please sign in to comment.