diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2023-03-02 18:23:46 +0100 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-03-03 13:43:59 +0900 |
commit | 7fea848568741439c2ff25db4e03a607046b4ed8 (patch) | |
tree | 9a5f1c5db42a2eb8215e5efe42701a425e36ada0 /test/rubygems/test_gem_commands_exec_command.rb | |
parent | b6d914c7228e09a37d879125917bcab179fa88c1 (diff) | |
download | ruby-7fea848568741439c2ff25db4e03a607046b4ed8.tar.gz |
[rubygems/rubygems] Fix warnings about unused variable
```
/path/to/rubygems/test/rubygems/test_gem_commands_exec_command.rb:180: warning: assigned but unused variable - platforms
```
https://github.com/rubygems/rubygems/commit/7e022cb5e3
Diffstat (limited to 'test/rubygems/test_gem_commands_exec_command.rb')
-rw-r--r-- | test/rubygems/test_gem_commands_exec_command.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/rubygems/test_gem_commands_exec_command.rb b/test/rubygems/test_gem_commands_exec_command.rb index f9908af46b..7902e44eb5 100644 --- a/test/rubygems/test_gem_commands_exec_command.rb +++ b/test/rubygems/test_gem_commands_exec_command.rb @@ -177,8 +177,6 @@ class TestGemCommandsExecCommand < Gem::TestCase end def test_gem_with_platform_dependencies - platforms = Gem.platforms.dup - spec_fetcher do |fetcher| fetcher.download "a", 2 do |s| s.executables = %w[a] @@ -219,8 +217,6 @@ class TestGemCommandsExecCommand < Gem::TestCase pend "extensions don't quite work on jruby" if Gem.java_platform? pend "terminates on mswin" if Gem.win_platform? - platforms = Gem.platforms.dup - spec_fetcher do |fetcher| fetcher.download "a", 2 do |s| s.executables = %w[a] |