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 1, 2021
1 parent 204a4e5 commit 7860468
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/irb/test_cmd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -381,8 +381,8 @@ def test_ls
])
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 All @@ -398,8 +398,8 @@ def test_whereami
])
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 7860468

Please sign in to comment.