diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2023-03-02 18:22:56 +0100 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-03-03 13:43:58 +0900 |
commit | b6d914c7228e09a37d879125917bcab179fa88c1 (patch) | |
tree | 4cdcec670072bec8f6ed9b3d3416ed2e967f0369 | |
parent | bd17bea6c5105133d8ba9c0e8ae6c89506a15823 (diff) | |
download | ruby-b6d914c7228e09a37d879125917bcab179fa88c1.tar.gz |
[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
-rw-r--r-- | test/rubygems/test_gem_commands_exec_command.rb | 2 |
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 |