diff --git a/test/helpers/application_helper_test.rb b/test/helpers/application_helper_test.rb
index 316137a78..5f9c718ef 100644
--- a/test/helpers/application_helper_test.rb
+++ b/test/helpers/application_helper_test.rb
@@ -130,14 +130,13 @@ class ApplicationHelperTest < Redmine::HelperTest
end
def test_inline_images_inside_tags
- raw = <<-RAW
-h1. !foo.png! Heading
+ raw = <<~RAW
+ h1. !foo.png! Heading
-Centered image:
-
-p=. !bar.gif!
-RAW
+ Centered image:
+ p=. !bar.gif!
+ RAW
assert textilizable(raw).include?('
')
assert textilizable(raw).include?('
')
end