diff --git a/test/irb/test_cmd.rb b/test/irb/test_cmd.rb index ca081b65d5..1739bc293d 100644 --- a/test/irb/test_cmd.rb +++ b/test/irb/test_cmd.rb @@ -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