diff --git a/test/helpers/application_helper_test.rb b/test/helpers/application_helper_test.rb index 6103e1d5f..fe127ff7b 100644 --- a/test/helpers/application_helper_test.rb +++ b/test/helpers/application_helper_test.rb @@ -1130,15 +1130,13 @@ class ApplicationHelperTest < Redmine::HelperTest end def test_non_closing_pre_blocks_should_be_closed - raw = <<-RAW -
-RAW
-
- expected = <<-EXPECTED
-
-
-EXPECTED
-
+ raw = <<~RAW
+
+ RAW
+ expected = <<~EXPECTED
+
+
+ EXPECTED
@project = Project.find(1)
assert_equal expected.gsub(%r{[\r\n\t]}, ''), textilizable(raw).gsub(%r{[\r\n\t]}, '')
end