mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
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
This commit is contained in:
parent
452376ae65
commit
e6324f3499
@ -1366,7 +1366,6 @@ Style/MethodCallWithoutArgsParentheses:
|
|||||||
- 'lib/redmine/helpers/gantt.rb'
|
- 'lib/redmine/helpers/gantt.rb'
|
||||||
- 'lib/redmine/scm/adapters/cvs_adapter.rb'
|
- 'lib/redmine/scm/adapters/cvs_adapter.rb'
|
||||||
- 'lib/redmine/scm/adapters/filesystem_adapter.rb'
|
- 'lib/redmine/scm/adapters/filesystem_adapter.rb'
|
||||||
- 'test/functional/repositories_git_controller_test.rb'
|
|
||||||
- 'test/unit/activity_test.rb'
|
- 'test/unit/activity_test.rb'
|
||||||
|
|
||||||
# Cop supports --auto-correct.
|
# Cop supports --auto-correct.
|
||||||
|
|||||||
@ -248,7 +248,7 @@ class RepositoriesGitControllerTest < Redmine::RepositoryControllerTest
|
|||||||
|
|
||||||
def test_entry_show_latin_1
|
def test_entry_show_latin_1
|
||||||
if @ruby19_non_utf8_pass
|
if @ruby19_non_utf8_pass
|
||||||
puts_ruby19_non_utf8_pass()
|
puts_ruby19_non_utf8_pass
|
||||||
elsif WINDOWS_PASS
|
elsif WINDOWS_PASS
|
||||||
puts WINDOWS_SKIP_STR
|
puts WINDOWS_SKIP_STR
|
||||||
else
|
else
|
||||||
@ -415,7 +415,7 @@ class RepositoriesGitControllerTest < Redmine::RepositoryControllerTest
|
|||||||
|
|
||||||
def test_diff_latin_1
|
def test_diff_latin_1
|
||||||
if @ruby19_non_utf8_pass
|
if @ruby19_non_utf8_pass
|
||||||
puts_ruby19_non_utf8_pass()
|
puts_ruby19_non_utf8_pass
|
||||||
else
|
else
|
||||||
with_settings :repositories_encodings => 'UTF-8,ISO-8859-1' do
|
with_settings :repositories_encodings => 'UTF-8,ISO-8859-1' do
|
||||||
['57ca437c', '57ca437c0acbbcb749821fdf3726a1367056d364'].each do |r1|
|
['57ca437c', '57ca437c0acbbcb749821fdf3726a1367056d364'].each do |r1|
|
||||||
@ -545,7 +545,7 @@ class RepositoriesGitControllerTest < Redmine::RepositoryControllerTest
|
|||||||
|
|
||||||
def test_annotate_latin_1
|
def test_annotate_latin_1
|
||||||
if @ruby19_non_utf8_pass
|
if @ruby19_non_utf8_pass
|
||||||
puts_ruby19_non_utf8_pass()
|
puts_ruby19_non_utf8_pass
|
||||||
elsif WINDOWS_PASS
|
elsif WINDOWS_PASS
|
||||||
puts WINDOWS_SKIP_STR
|
puts WINDOWS_SKIP_STR
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user