Skip to content

Commit

Permalink
[ruby/irb] 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`.

ruby/irb@0dbe292979
  • Loading branch information
nobu authored and matzbot committed Apr 5, 2021
1 parent d30d1e6 commit 4b92633
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/irb/test_cmd.rb
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 4b92633

Please sign in to comment.