From e6324f349916f3a39274c18a1548b745a7c8b683 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Fri, 13 Sep 2019 05:00:32 +0000 Subject: [PATCH] code cleanup: rubocop: fix Style/MethodCallWithoutArgsParentheses in test/functional/repositories_git_controller_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18462 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .rubocop_todo.yml | 1 - test/functional/repositories_git_controller_test.rb | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index e8653ac67..9e1f2f4ff 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1366,7 +1366,6 @@ Style/MethodCallWithoutArgsParentheses: - 'lib/redmine/helpers/gantt.rb' - 'lib/redmine/scm/adapters/cvs_adapter.rb' - 'lib/redmine/scm/adapters/filesystem_adapter.rb' - - 'test/functional/repositories_git_controller_test.rb' - 'test/unit/activity_test.rb' # Cop supports --auto-correct. diff --git a/test/functional/repositories_git_controller_test.rb b/test/functional/repositories_git_controller_test.rb index 7a3fa13bf..c8a912cb6 100644 --- a/test/functional/repositories_git_controller_test.rb +++ b/test/functional/repositories_git_controller_test.rb @@ -248,7 +248,7 @@ class RepositoriesGitControllerTest < Redmine::RepositoryControllerTest def test_entry_show_latin_1 if @ruby19_non_utf8_pass - puts_ruby19_non_utf8_pass() + puts_ruby19_non_utf8_pass elsif WINDOWS_PASS puts WINDOWS_SKIP_STR else @@ -415,7 +415,7 @@ class RepositoriesGitControllerTest < Redmine::RepositoryControllerTest def test_diff_latin_1 if @ruby19_non_utf8_pass - puts_ruby19_non_utf8_pass() + puts_ruby19_non_utf8_pass else with_settings :repositories_encodings => 'UTF-8,ISO-8859-1' do ['57ca437c', '57ca437c0acbbcb749821fdf3726a1367056d364'].each do |r1| @@ -545,7 +545,7 @@ class RepositoriesGitControllerTest < Redmine::RepositoryControllerTest def test_annotate_latin_1 if @ruby19_non_utf8_pass - puts_ruby19_non_utf8_pass() + puts_ruby19_non_utf8_pass elsif WINDOWS_PASS puts WINDOWS_SKIP_STR else