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