Skip to content

Commit

Permalink
Suppress verbose messages in the parallel test
Browse files Browse the repository at this point in the history
`:VERBOSE` flag needs to be set prior to `IRB::Irb.new`.
  • Loading branch information
nobu committed Apr 5, 2021
1 parent 7258df0 commit 0dbe292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/irb/test_cmd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -398,8 +398,8 @@ def test_show_source
])
IRB.init_config(nil)
workspace = IRB::WorkSpace.new(self)
irb = IRB::Irb.new(workspace, input)
IRB.conf[:VERBOSE] = false
irb = IRB::Irb.new(workspace, input)
IRB.conf[:MAIN_CONTEXT] = irb.context
irb.context.return_format = "=> %s\n"
out, err = capture_output do
Expand Down

0 comments on commit 0dbe292

Please sign in to comment.