mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
Replace Gem::Util.silent_system
with better tools
This commit is contained in:
parent
c61031d6b6
commit
afce7eb39e
Notes:
git
2020-06-15 21:21:03 +09:00
2 changed files with 8 additions and 5 deletions
|
@ -69,8 +69,9 @@ class TestGemSourceGit < Gem::TestCase
|
|||
git_gem 'b'
|
||||
|
||||
Dir.chdir 'git/a' do
|
||||
Gem::Util.silent_system @git, 'submodule', '--quiet',
|
||||
'add', File.expand_path('../b'), 'b'
|
||||
output, status = Open3.capture2e(@git, 'submodule', '--quiet', 'add', File.expand_path('../b'), 'b')
|
||||
assert status.success?, output
|
||||
|
||||
system @git, 'commit', '--quiet', '-m', 'add submodule b'
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue