From 211534fccafbe2140ea8641d86c9996fa273981c Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 22 Oct 2019 11:40:12 +0000 Subject: code cleanup: rubocop: fix Layout/ClosingHeredocIndentation in ApplicationHelperTest#test_syntax_highlight_ampersand_in_textile git-svn-id: http://svn.redmine.org/redmine/trunk@18804 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/helpers/application_helper_test.rb | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'test/helpers') diff --git a/test/helpers/application_helper_test.rb b/test/helpers/application_helper_test.rb index 5f9c718ef..876ad72cc 100644 --- a/test/helpers/application_helper_test.rb +++ b/test/helpers/application_helper_test.rb @@ -1170,16 +1170,14 @@ EXPECTED end def test_syntax_highlight_ampersand_in_textile - raw = <<-RAW -

-x = a & b
-
-RAW - - expected = <<-EXPECTED -
x = a & b
-EXPECTED - + raw = <<~RAW +

+      x = a & b
+      
+ RAW + expected = <<~EXPECTED +
x = a & b
+ EXPECTED with_settings :text_formatting => 'textile' do assert_equal expected.gsub(%r{[\r\n\t]}, ''), textilizable(raw).gsub(%r{[\r\n\t]}, '') end -- cgit v1.2.3