We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 773d260 commit ab9c80dCopy full SHA for ab9c80d
test/rubygems/test_deprecate.rb
@@ -141,7 +141,7 @@ def execute
141
end
142
143
def test_deprecated_method_outputs_a_warning_old_way
144
- out, err = capture_io do
+ out, err = capture_output do
145
thing = OtherThing.new
146
thing.foo
147
thing.foo_arg("msg")
test/rubygems/test_gem_package_task.rb
@@ -56,7 +56,7 @@ def test_gem_package_prints_to_stdout_by_default
56
g.summary = 'summary'
57
58
59
- _, err = capture_io do
+ _, err = capture_output do
60
Rake.application = Rake::Application.new
61
62
pkg = Gem::PackageTask.new(gem) do |p|
0 commit comments