summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/rubygems/test_gem_source_git.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_source_git.rb b/test/rubygems/test_gem_source_git.rb
index c3b324771f..147c6df1d2 100644
--- a/test/rubygems/test_gem_source_git.rb
+++ b/test/rubygems/test_gem_source_git.rb
@@ -66,7 +66,7 @@ class TestGemSourceGit < Gem::TestCase
# We need to allow to checkout submodules with file:// protocol
# CVE-2022-39253
# https://lore.kernel.org/lkml/xmqq4jw1uku5.fsf@gitster.g/
- system(@git, *%W"config --global protocol.file.allow always")
+ system(@git, *%W[config --global protocol.file.allow always])
source = Gem::Source::Git.new @name, @repository, "master", true