aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2022-10-19 20:39:07 +0900
committergit <svn-admin@ruby-lang.org>2022-10-19 13:03:47 +0000
commit86096a91d55f72620e0f8ca8634da5fa342dc35b (patch)
tree6e7c0ad4e84f6b82585ec105e1bfb6e3d8234dd4 /test/rubygems
parenta25c0338051af3fe2e917cd4d3d4c42b9f0bcf9e (diff)
downloadruby-86096a91d55f72620e0f8ca8634da5fa342dc35b.tar.gz
[rubygems/rubygems] Use [] instead of double-quotes
Diffstat (limited to 'test/rubygems')
-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