From accab3c7550cf707fb5e49ef64b6116e79dc639c Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 22 Oct 2019 16:06:20 +0000 Subject: [PATCH] code cleanup: rubocop: fix Layout/SpaceBeforeComma in test/helpers/application_helper_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18838 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .rubocop_todo.yml | 1 - test/helpers/application_helper_test.rb | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 48448284f..4fbaef3f0 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -249,7 +249,6 @@ Layout/SpaceAroundOperators: Layout/SpaceBeforeComma: Exclude: - 'lib/redmine/export/pdf.rb' - - 'test/helpers/application_helper_test.rb' - 'test/mocks/open_id_authentication_mock.rb' # Cop supports --auto-correct. diff --git a/test/helpers/application_helper_test.rb b/test/helpers/application_helper_test.rb index be1c60303..a6733f7b0 100644 --- a/test/helpers/application_helper_test.rb +++ b/test/helpers/application_helper_test.rb @@ -691,7 +691,7 @@ class ApplicationHelperTest < Redmine::HelperTest :action => 'revision', :id => 'subproject1', :repository_id => r.id, - :rev => '123' , + :rev => '123', }, :class => 'changeset', :title => 'test commit') changeset_link_commit = link_to('abcd', @@ -700,7 +700,7 @@ class ApplicationHelperTest < Redmine::HelperTest :action => 'revision', :id => 'subproject1', :repository_id => r.id, - :rev => 'abcd' , + :rev => 'abcd', }, :class => 'changeset', :title => 'test commit') to_test = { @@ -740,7 +740,7 @@ class ApplicationHelperTest < Redmine::HelperTest with_settings :text_formatting => 'markdown' do raw = "attachment:image@2x.png should not be parsed in image@2x.png" - assert_match %r{

image@2x.png should not be parsed in image@2x.png

} , + assert_match %r{

image@2x.png should not be parsed in image@2x.png

}, textilizable(raw, :attachments => [attachment]) end end -- 2.39.5