summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_commands_owner_command.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2020-03-24 19:51:43 +0100
committerHiroshi SHIBATA <[email protected]>2020-03-30 12:42:10 +0900
commitba9dcdab3669f11b2e265712ceb43227c366fc3b (patch)
treee6aa19535d1b3388c9303497e1dc649e9e804ed8 /test/rubygems/test_gem_commands_owner_command.rb
parentf987302cf4a59944e5f01572d8ac36bbdbbc97cc (diff)
[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_owner_command.rb')
-rw-r--r--test/rubygems/test_gem_commands_owner_command.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rubygems/test_gem_commands_owner_command.rb b/test/rubygems/test_gem_commands_owner_command.rb
index 799d631f8a..35424629fe 100644
--- a/test/rubygems/test_gem_commands_owner_command.rb
+++ b/test/rubygems/test_gem_commands_owner_command.rb
@@ -119,7 +119,7 @@ EOF
end
Gem.configuration.load_api_keys
- @cmd.handle_options %w(-k other)
+ @cmd.handle_options %w[-k other]
@cmd.show_owners('freewill')
assert_equal '701229f217cdf23b1344c7b4b54ca97', @stub_fetcher.last_request['Authorization']
@@ -177,7 +177,7 @@ EOF
end
Gem.configuration.load_api_keys
- @cmd.handle_options %w(-k other)
+ @cmd.handle_options %w[-k other]
@cmd.add_owners('freewill', ['[email protected]'])
assert_equal '701229f217cdf23b1344c7b4b54ca97', @stub_fetcher.last_request['Authorization']
@@ -217,7 +217,7 @@ EOF
end
Gem.configuration.load_api_keys
- @cmd.handle_options %w(-k other)
+ @cmd.handle_options %w[-k other]
@cmd.remove_owners('freewill', ['[email protected]'])
assert_equal '701229f217cdf23b1344c7b4b54ca97', @stub_fetcher.last_request['Authorization']