mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/irb] Fix warnings in test_cmd.rb
Fixes this warning: warning: assigned but unused variable - err https://github.com/ruby/irb/commit/298fcb57a3
This commit is contained in:
parent
b260c1e8c8
commit
ea5972572b
1 changed files with 2 additions and 2 deletions
|
@ -416,7 +416,7 @@ module TestIRB
|
|||
])
|
||||
IRB.conf[:PROMPT_MODE] = :SIMPLE
|
||||
irb = IRB::Irb.new(IRB::WorkSpace.new(self), input)
|
||||
out, err = capture_output do
|
||||
out, _ = capture_output do
|
||||
irb.eval_input
|
||||
end
|
||||
|
||||
|
@ -437,7 +437,7 @@ module TestIRB
|
|||
])
|
||||
IRB.conf[:PROMPT_MODE] = :SIMPLE
|
||||
irb = IRB::Irb.new(IRB::WorkSpace.new(self), input)
|
||||
out, err = capture_output do
|
||||
out, _ = capture_output do
|
||||
IRB::TestHelper.without_rdoc do
|
||||
irb.eval_input
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue