From a6bdeb708d1d755993f132aafe78bdcaf7cbf725 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Wed, 25 Jan 2023 02:14:28 +0000 Subject: [PATCH] Fix RuboCop offense Style/MethodCallWithoutArgsParentheses (#36919). git-svn-id: https://svn.redmine.org/redmine/trunk@22075 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb | 2 +- test/unit/lib/redmine/scm/adapters/git_adapter_test.rb | 2 +- test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb b/test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb index 0d22adaa3..080c177bb 100644 --- a/test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb +++ b/test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb @@ -174,7 +174,7 @@ class BazaarAdapterTest < ActiveSupport::TestCase end def test_entry - entry = @adapter.entry() + entry = @adapter.entry assert_equal "", entry.path assert_equal "dir", entry.kind entry = @adapter.entry('') diff --git a/test/unit/lib/redmine/scm/adapters/git_adapter_test.rb b/test/unit/lib/redmine/scm/adapters/git_adapter_test.rb index 95dcea35e..b81261c41 100644 --- a/test/unit/lib/redmine/scm/adapters/git_adapter_test.rb +++ b/test/unit/lib/redmine/scm/adapters/git_adapter_test.rb @@ -610,7 +610,7 @@ class GitAdapterTest < ActiveSupport::TestCase end def test_entry - entry = @adapter.entry() + entry = @adapter.entry assert_equal "", entry.path assert_equal "dir", entry.kind entry = @adapter.entry('') diff --git a/test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb b/test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb index 39d92cdc1..7eb86a621 100644 --- a/test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb +++ b/test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb @@ -279,7 +279,7 @@ class MercurialAdapterTest < ActiveSupport::TestCase end def test_entry - entry = @adapter.entry() + entry = @adapter.entry assert_equal "", entry.path assert_equal "dir", entry.kind entry = @adapter.entry('') -- 2.39.5