diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-03-24 19:51:43 +0100 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-03-30 12:42:10 +0900 |
commit | ba9dcdab3669f11b2e265712ceb43227c366fc3b (patch) | |
tree | e6aa19535d1b3388c9303497e1dc649e9e804ed8 /test/rubygems/test_gem_commands_push_command.rb | |
parent | f987302cf4a59944e5f01572d8ac36bbdbbc97cc (diff) | |
download | ruby-ba9dcdab3669f11b2e265712ceb43227c366fc3b.tar.gz |
[rubygems/rubygems] Enable Style/PercentLiteralDelimiters cop in rubygems
So it matches the style used by bundler.
https://github.com/rubygems/rubygems/commit/ab0580fd65
Diffstat (limited to 'test/rubygems/test_gem_commands_push_command.rb')
-rw-r--r-- | test/rubygems/test_gem_commands_push_command.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rubygems/test_gem_commands_push_command.rb b/test/rubygems/test_gem_commands_push_command.rb index f666c6d437..ddb287388d 100644 --- a/test/rubygems/test_gem_commands_push_command.rb +++ b/test/rubygems/test_gem_commands_push_command.rb @@ -246,7 +246,7 @@ class TestGemCommandsPushCommand < Gem::TestCase spec.metadata['allowed_push_host'] = "https://privategemserver.example" end - response = %{ERROR: "#{@host}" is not allowed by the gemspec, which only allows "https://privategemserver.example"} + response = %(ERROR: "#{@host}" is not allowed by the gemspec, which only allows "https://privategemserver.example") assert_raises Gem::MockGemUi::TermError do send_battery @@ -355,7 +355,7 @@ class TestGemCommandsPushCommand < Gem::TestCase end Gem.configuration.load_api_keys - @cmd.handle_options %w(-k other) + @cmd.handle_options %w[-k other] @cmd.instance_variable_set :@host, @host @cmd.send_gem(@path) |