diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-08-08 17:19:23 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-08-08 17:19:23 +0900 |
commit | b39efb163dd97a6b2c92cac3d2b1c19f898d0c04 (patch) | |
tree | a713be83c67c47c0f31a3601d640210c34f10fc5 /test/irb | |
parent | 1ad0f4e593563d460e3015fc4a2542ce1bb80d6e (diff) |
Aliases capture_output to capture_io for test-unit compatiblity.
Diffstat (limited to 'test/irb')
-rw-r--r-- | test/irb/test_context.rb | 2 |
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 |