[ruby/irb] Suppress "switching inspect mode" messages
https://github.com/ruby/irb/commit/565eeb3c19
This commit is contained in:
parent
87988756d0
commit
d01bcf378b
@ -383,6 +383,7 @@ module TestIRB
|
|||||||
"\n",
|
"\n",
|
||||||
])
|
])
|
||||||
IRB.conf[:PROMPT_MODE] = :SIMPLE
|
IRB.conf[:PROMPT_MODE] = :SIMPLE
|
||||||
|
IRB.conf[:VERBOSE] = false
|
||||||
irb = IRB::Irb.new(IRB::WorkSpace.new(self), input)
|
irb = IRB::Irb.new(IRB::WorkSpace.new(self), input)
|
||||||
out, err = capture_output do
|
out, err = capture_output do
|
||||||
irb.eval_input
|
irb.eval_input
|
||||||
@ -404,6 +405,7 @@ module TestIRB
|
|||||||
"\n",
|
"\n",
|
||||||
])
|
])
|
||||||
IRB.conf[:PROMPT_MODE] = :SIMPLE
|
IRB.conf[:PROMPT_MODE] = :SIMPLE
|
||||||
|
IRB.conf[:VERBOSE] = false
|
||||||
irb = IRB::Irb.new(IRB::WorkSpace.new(self), input)
|
irb = IRB::Irb.new(IRB::WorkSpace.new(self), input)
|
||||||
out, err = capture_output do
|
out, err = capture_output do
|
||||||
without_rdoc do
|
without_rdoc do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user