summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2020-06-03 16:54:21 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-06-05 07:32:42 +0900
commitcfcb52fbe367d5f9259cad376510daefd442cbb9 (patch)
treefe2d0c1ff71792aea8e9f5be411264c78c98c819
parent77ba8a1d610114cdaf59993dceeb3ebf6f624436 (diff)
Enable `Style/MethodCallWithoutArgsParentheses` in rubygems
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3184
-rw-r--r--test/rubygems/test_gem_commands_signin_command.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_commands_signin_command.rb b/test/rubygems/test_gem_commands_signin_command.rb
index 8991f65302..b559ddd331 100644
--- a/test/rubygems/test_gem_commands_signin_command.rb
+++ b/test/rubygems/test_gem_commands_signin_command.rb
@@ -23,7 +23,7 @@ class TestGemCommandsSigninCommand < Gem::TestCase
end
def test_execute_when_not_already_signed_in
- sign_in_ui = util_capture() { @cmd.execute }
+ sign_in_ui = util_capture { @cmd.execute }
assert_match %r{Signed in.}, sign_in_ui.output
end