diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2022-10-19 20:39:07 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-10-19 13:03:47 +0000 |
commit | 86096a91d55f72620e0f8ca8634da5fa342dc35b (patch) | |
tree | 6e7c0ad4e84f6b82585ec105e1bfb6e3d8234dd4 | |
parent | a25c0338051af3fe2e917cd4d3d4c42b9f0bcf9e (diff) | |
download | ruby-86096a91d55f72620e0f8ca8634da5fa342dc35b.tar.gz |
[rubygems/rubygems] Use [] instead of double-quotes
-rw-r--r-- | test/rubygems/test_gem_source_git.rb | 2 |
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 |