summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_commands_build_command.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2019-06-29 20:16:49 +0900
committerHiroshi SHIBATA <[email protected]>2021-05-12 17:24:43 +0900
commit26cbda8dc903d5d663f6c759be073df3346c6874 ()
treede16280ada7fe53fda17d43afb506f07e2761d81 /test/rubygems/test_gem_commands_build_command.rb
parentcddeee21e992f1659ff9cb24d99e154aaba9daad (diff)
[rubygems/rubygems] Use capture_output instead of capture_io.
https://.com/rubygems/rubygems/commit/ad9206d4d0
Notes: Merged: https://.com/ruby/ruby/pull/4491
-rw-r--r--test/rubygems/test_gem_commands_build_command.rb2
1 files changed, 1 insertions, 1 deletions
@@ -208,7 +208,7 @@ class TestGemCommandsBuildCommand < Gem::TestCase
@cmd.options[:args] = [gemspec_file]
out, err = use_ui @ui do
- capture_io do
assert_raises Gem::MockGemUi::TermError do
@cmd.execute
end