diff options
author | Hiroshi SHIBATA <[email protected]> | 2019-08-11 06:12:46 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2019-08-11 06:14:01 +0900 |
commit | 2990c2cc3e5a105013b829dad00fa43a26da8682 (patch) | |
tree | 48b0b7357fb805281e8da9cfba951b0b9bc32fdb /test/rdoc/test_rdoc_parser_ruby.rb | |
parent | 7ee948c3a11c5fb79d6f3ec2878a64387e29ba7a (diff) |
Use capture_output instead of capture_io.
It's preparation for migrating test-unit on upstream.
Diffstat (limited to 'test/rdoc/test_rdoc_parser_ruby.rb')
-rw-r--r-- | test/rdoc/test_rdoc_parser_ruby.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rdoc/test_rdoc_parser_ruby.rb b/test/rdoc/test_rdoc_parser_ruby.rb index 95a8658fdb..9164e82cbf 100644 --- a/test/rdoc/test_rdoc_parser_ruby.rb +++ b/test/rdoc/test_rdoc_parser_ruby.rb @@ -902,7 +902,7 @@ end def test_parse_class_lower_name_warning @options.verbosity = 2 - stds = capture_io do + stds = capture_output do util_parser "class foo\nend" tk = @parser.get_tk @parser.parse_class @top_level, RDoc::Parser::Ruby::NORMAL, tk, @comment @@ -913,7 +913,7 @@ end def test_parse_syntax_error_code @options.verbosity = 2 - stds = capture_io do + stds = capture_output do begin util_parser <<INVALID_CODE # invalid class name |