summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_source_git.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2022-04-01 10:56:13 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2022-04-28 19:08:49 +0900
commitf4009566afed45db82cf1fe73d7a16192a89b810 (patch)
tree79e8960082b684f4ec3da3681143ac186f5c25fe /test/rubygems/test_gem_source_git.rb
parent6dc314ac6df69e29ba58dfd61dde90e85a2b47c9 (diff)
[rubygems/rubygems] Add missing `open3` requires
https://github.com/rubygems/rubygems/commit/06ad654120
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/5669
Diffstat (limited to 'test/rubygems/test_gem_source_git.rb')
-rw-r--r--test/rubygems/test_gem_source_git.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/rubygems/test_gem_source_git.rb b/test/rubygems/test_gem_source_git.rb
index 73ed8dd2ef..b97556d61d 100644
--- a/test/rubygems/test_gem_source_git.rb
+++ b/test/rubygems/test_gem_source_git.rb
@@ -68,6 +68,7 @@ class TestGemSourceGit < Gem::TestCase
git_gem 'b'
Dir.chdir 'git/a' do
+ require "open3"
output, status = Open3.capture2e(@git, 'submodule', '--quiet', 'add', File.expand_path('../b'), 'b')
assert status.success?, output