ruby-changes:61564
From: David <ko1@a...>
Date: Fri, 5 Jun 2020 07:34:46 +0900 (JST)
Subject: [ruby-changes:61564] cfcb52fbe3 (master): Enable `Style/MethodCallWithoutArgsParentheses` in rubygems
https://git.ruby-lang.org/ruby.git/commit/?id=cfcb52fbe3 From cfcb52fbe367d5f9259cad376510daefd442cbb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...> Date: Wed, 3 Jun 2020 16:54:21 +0200 Subject: Enable `Style/MethodCallWithoutArgsParentheses` in rubygems diff --git a/test/rubygems/test_gem_commands_signin_command.rb b/test/rubygems/test_gem_commands_signin_command.rb index 8991f65..b559ddd 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 https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_commands_signin_command.rb#L23 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 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/