ruby-changes:66170
From: Hiroshi <ko1@a...>
Date: Wed, 12 May 2021 17:25:14 +0900 (JST)
Subject: [ruby-changes:66170] 5ed9d3f16f (master): [rubygems/rubygems] Use capture_output instead of capture_io
https://git.ruby-lang.org/ruby.git/commit/?id=5ed9d3f16f From 5ed9d3f16f0b6fd9a93816740f8b41c69d03734a Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Tue, 11 May 2021 12:34:03 +0900 Subject: [rubygems/rubygems] Use capture_output instead of capture_io https://github.com/rubygems/rubygems/commit/c46185abe3 --- test/rubygems/test_gem_package.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/rubygems/test_gem_package.rb b/test/rubygems/test_gem_package.rb index 69b7c60..8f2f50c 100644 --- a/test/rubygems/test_gem_package.rb +++ b/test/rubygems/test_gem_package.rb @@ -1068,7 +1068,7 @@ class TestGemPackage < Gem::Package::TarTestCase https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_package.rb#L1068 _, err = use_ui @ui do e = nil - out_err = capture_io do + out_err = capture_output do e = assert_raise ArgumentError do package.verify_entry entry end -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/