summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2023-03-02 18:22:56 +0100
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-03-03 13:43:58 +0900
commitb6d914c7228e09a37d879125917bcab179fa88c1 (patch)
tree4cdcec670072bec8f6ed9b3d3416ed2e967f0369 /test
parentbd17bea6c5105133d8ba9c0e8ae6c89506a15823 (diff)
[rubygems/rubygems] Fix warning about ambiguous `*`
``` /path/to/rubygems/test/rubygems/test_gem_commands_exec_command.rb:42: warning: `*' interpreted as argument prefix ``` https://github.com/rubygems/rubygems/commit/0806ebf4e0
Diffstat (limited to 'test')
-rw-r--r--test/rubygems/test_gem_commands_exec_command.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_commands_exec_command.rb b/test/rubygems/test_gem_commands_exec_command.rb
index 097ada3076..f9908af46b 100644
--- a/test/rubygems/test_gem_commands_exec_command.rb
+++ b/test/rubygems/test_gem_commands_exec_command.rb
@@ -39,7 +39,7 @@ class TestGemCommandsExecCommand < Gem::TestCase
@ui.errs.rewind
@installed_specs.clear
- @cmd.invoke *args
+ @cmd.invoke(*args)
ensure
Gem::Specification.unresolved_deps.clear
Gem.loaded_specs.clear