summaryrefslogtreecommitdiff
path: root/test/csv/interface
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 /test/csv/interface
parent1ad0f4e593563d460e3015fc4a2542ce1bb80d6e (diff)
Aliases capture_output to capture_io for test-unit compatiblity.
Diffstat (limited to 'test/csv/interface')
-rw-r--r--test/csv/interface/test_read.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/csv/interface/test_read.rb b/test/csv/interface/test_read.rb
index 8fefbbb1725..52620964c0c 100644
--- a/test/csv/interface/test_read.rb
+++ b/test/csv/interface/test_read.rb
@@ -104,7 +104,7 @@ class TestCSVInterfaceRead < Test::Unit::TestCase
end
def test_open_encoding_nonexistent
- _output, error = capture_io do
+ _output, error = capture_output do
CSV.open(@input.path, encoding: "nonexistent") do
end
end