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/csv | |
parent | 1ad0f4e593563d460e3015fc4a2542ce1bb80d6e (diff) |
Aliases capture_output to capture_io for test-unit compatiblity.
Diffstat (limited to 'test/csv')
-rw-r--r-- | test/csv/interface/test_read.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/csv/interface/test_read.rb b/test/csv/interface/test_read.rb index 8fefbbb172..52620964c0 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 |