summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_doctor.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_doctor.rb
parentcddeee21e992f1659ff9cb24d99e154aaba9daad (diff)
[rubygems/rubygems] Use capture_output instead of capture_io.
https://github.com/rubygems/rubygems/commit/ad9206d4d0
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4491
Diffstat (limited to 'test/rubygems/test_gem_doctor.rb')
-rw-r--r--test/rubygems/test_gem_doctor.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rubygems/test_gem_doctor.rb b/test/rubygems/test_gem_doctor.rb
index 1cef52234e..1f0f0f1b5c 100644
--- a/test/rubygems/test_gem_doctor.rb
+++ b/test/rubygems/test_gem_doctor.rb
@@ -38,7 +38,7 @@ class TestGemDoctor < Gem::TestCase
doctor = Gem::Doctor.new @gemhome
- capture_io do
+ capture_output do
use_ui @ui do
doctor.doctor
end
@@ -91,7 +91,7 @@ Removed directory gems/c-2
doctor = Gem::Doctor.new @gemhome, true
- capture_io do
+ capture_output do
use_ui @ui do
doctor.doctor
end
@@ -127,7 +127,7 @@ Extra directory gems/c-2
doctor = Gem::Doctor.new @tempdir
- capture_io do
+ capture_output do
use_ui @ui do
doctor.doctor
end