aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems/test_gem_config_file.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2019-06-29 20:16:49 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-05-12 17:24:43 +0900
commit26cbda8dc903d5d663f6c759be073df3346c6874 (patch)
treede16280ada7fe53fda17d43afb506f07e2761d81 /test/rubygems/test_gem_config_file.rb
parentcddeee21e992f1659ff9cb24d99e154aaba9daad (diff)
downloadruby-26cbda8dc903d5d663f6c759be073df3346c6874.tar.gz
[rubygems/rubygems] Use capture_output instead of capture_io.
https://github.com/rubygems/rubygems/commit/ad9206d4d0
Diffstat (limited to 'test/rubygems/test_gem_config_file.rb')
-rw-r--r--test/rubygems/test_gem_config_file.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_config_file.rb b/test/rubygems/test_gem_config_file.rb
index 7db31013aa..27da7d8206 100644
--- a/test/rubygems/test_gem_config_file.rb
+++ b/test/rubygems/test_gem_config_file.rb
@@ -253,7 +253,7 @@ if you believe they were disclosed to a third party.
args = %w[--debug]
- _, err = capture_io do
+ _, err = capture_output do
@cfg.handle_arguments args
end