]> source.dussan.org Git - redmine.git/commitdiff
code cleanup: rubocop: fix Style/MethodCallWithoutArgsParentheses in test/functional...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 13 Sep 2019 05:00:32 +0000 (05:00 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 13 Sep 2019 05:00:32 +0000 (05:00 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@18462 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop_todo.yml
test/functional/repositories_git_controller_test.rb

index e8653ac6741f5559412cbf2bfe44eff986408485..9e1f2f4ff5a1b23df584a040b38ea8f4aca4d435 100644 (file)
@@ -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.
index 7a3fa13bf7602b932d0de1b2203eb2107856ef8e..c8a912cb6b57639b660a10dff3cc3c8962cc161d 100644 (file)
@@ -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