diff --git a/test/unit/lib/redmine/wiki_formatting/common_mark/formatter_test.rb b/test/unit/lib/redmine/wiki_formatting/common_mark/formatter_test.rb index 9f23dba30..9e4896e95 100644 --- a/test/unit/lib/redmine/wiki_formatting/common_mark/formatter_test.rb +++ b/test/unit/lib/redmine/wiki_formatting/common_mark/formatter_test.rb @@ -134,19 +134,19 @@ class Redmine::WikiFormatting::CommonMark::FormatterTest < ActionView::TestCase end def test_footnotes - text = <<-STR - This is some text[^1]. - - [^1]: This is the foot note + text = <<~STR + This is some text[^1]. + + [^1]: This is the foot note STR - expected = <<-EXPECTED -
This is some text1.
-This is the foot note ↩
-This is some text1.
+This is the foot note ↩
+