[ruby/irb] Remove unnecessary test setup
https://github.com/ruby/irb/commit/cc6e6d26b6
This commit is contained in:
parent
8038bf239a
commit
148eb05ec1
@ -382,10 +382,8 @@ module TestIRB
|
||||
"help 'String#gsub'\n",
|
||||
"\n",
|
||||
])
|
||||
IRB.conf[:VERBOSE] = false
|
||||
IRB.conf[:PROMPT_MODE] = :SIMPLE
|
||||
irb = IRB::Irb.new(IRB::WorkSpace.new(self), input)
|
||||
IRB.conf[:MAIN_CONTEXT] = irb.context
|
||||
out, err = capture_output do
|
||||
irb.eval_input
|
||||
end
|
||||
@ -408,10 +406,8 @@ module TestIRB
|
||||
"help 'String#gsub'\n",
|
||||
"\n",
|
||||
])
|
||||
IRB.conf[:VERBOSE] = false
|
||||
IRB.conf[:PROMPT_MODE] = :SIMPLE
|
||||
irb = IRB::Irb.new(IRB::WorkSpace.new(self), input)
|
||||
IRB.conf[:MAIN_CONTEXT] = irb.context
|
||||
out, err = capture_output do
|
||||
without_rdoc do
|
||||
irb.eval_input
|
||||
|
Loading…
x
Reference in New Issue
Block a user