summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-08 17:19:23 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-08 17:19:23 +0900
commitb39efb163dd97a6b2c92cac3d2b1c19f898d0c04 (patch)
treea713be83c67c47c0f31a3601d640210c34f10fc5 /tool
parent1ad0f4e593563d460e3015fc4a2542ce1bb80d6e (diff)
Aliases capture_output to capture_io for test-unit compatiblity.
Diffstat (limited to 'tool')
-rw-r--r--tool/lib/minitest/unit.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/lib/minitest/unit.rb b/tool/lib/minitest/unit.rb
index a384ddc17c..bd244d8e06 100644
--- a/tool/lib/minitest/unit.rb
+++ b/tool/lib/minitest/unit.rb
@@ -480,6 +480,7 @@ module MiniTest
return captured_stdout.string, captured_stderr.string
end
+ alias capture_output capture_io
##
# Captures $stdout and $stderr into strings, using Tempfile to