summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2020-02-19 15:00:24 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-05-12 17:24:43 +0900
commit3c9633acfc5be293d27829c5a1f24a5efa2a5169 (patch)
tree67072e50df2aee8f4ebedf11963f4ef24982b171
parent26cbda8dc903d5d663f6c759be073df3346c6874 (diff)
downloadruby-3c9633acfc5be293d27829c5a1f24a5efa2a5169.tar.gz
[rubygems/rubygems] Also use capture_output instead of capture_io
https://github.com/rubygems/rubygems/commit/229858ea56
-rw-r--r--test/rubygems/test_gem_doctor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_doctor.rb b/test/rubygems/test_gem_doctor.rb
index 1f0f0f1b5c..f99de3d020 100644
--- a/test/rubygems/test_gem_doctor.rb
+++ b/test/rubygems/test_gem_doctor.rb
@@ -163,7 +163,7 @@ This directory does not appear to be a RubyGems repository, skipping
doctor = Gem::Doctor.new @gemhome
- capture_io do
+ capture_output do
use_ui @ui do
doctor.doctor
end