[ruby/irb] Suppress verbose messages in the parallel test
`:VERBOSE` flag needs to be set prior to `IRB::Irb.new`. https://github.com/ruby/irb/commit/0dbe292979
This commit is contained in:
parent
d30d1e648d
commit
4b92633043
@ -398,8 +398,8 @@ module TestIRB
|
|||||||
])
|
])
|
||||||
IRB.init_config(nil)
|
IRB.init_config(nil)
|
||||||
workspace = IRB::WorkSpace.new(self)
|
workspace = IRB::WorkSpace.new(self)
|
||||||
irb = IRB::Irb.new(workspace, input)
|
|
||||||
IRB.conf[:VERBOSE] = false
|
IRB.conf[:VERBOSE] = false
|
||||||
|
irb = IRB::Irb.new(workspace, input)
|
||||||
IRB.conf[:MAIN_CONTEXT] = irb.context
|
IRB.conf[:MAIN_CONTEXT] = irb.context
|
||||||
irb.context.return_format = "=> %s\n"
|
irb.context.return_format = "=> %s\n"
|
||||||
out, err = capture_output do
|
out, err = capture_output do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user