summaryrefslogtreecommitdiff
path: root/test/irb/test_context.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/irb/test_context.rb')
-rw-r--r--test/irb/test_context.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/irb/test_context.rb b/test/irb/test_context.rb
index 8b245d105d..df9edcc63f 100644
--- a/test/irb/test_context.rb
+++ b/test/irb/test_context.rb
@@ -68,7 +68,7 @@ module TestIRB
"_\n",
])
irb = IRB::Irb.new(IRB::WorkSpace.new(Object.new), input)
- out, err = capture_io do
+ out, err = capture_output do
irb.eval_input
end
assert_empty err