summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2022-05-28 09:59:39 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2022-05-28 09:59:39 +0000
commit283f0a655e9933822db90f2b5da8e02e8df07370 (patch)
treebfb3f86b764294d96fce4aaa23a4bfb747a53e30 /test
parentc85038d83006479efc5efde7e5f8c2b35d1f3255 (diff)
downloadredmine-283f0a655e9933822db90f2b5da8e02e8df07370.tar.gz
redmine-283f0a655e9933822db90f2b5da8e02e8df07370.zip
Merged r21612 to 5.0-stable (35892).
git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21617 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/unit/lib/redmine/wiki_formatting/common_mark/formatter_test.rb6
1 files changed, 3 insertions, 3 deletions
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 ee46e5d8e..2eeb28759 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
@@ -148,10 +148,10 @@ class Redmine::WikiFormatting::CommonMark::FormatterTest < ActionView::TestCase
STR
expected = <<~EXPECTED
- <p>This is some text<sup><a href="#fn1" id="fnref1">1</a></sup>.</p>
+ <p>This is some text<sup><a href="#fn-1" id="fnref-1">1</a></sup>.</p>
<ol>
- <li id="fn1">
- <p>This is the foot note <a href="#fnref1">↩</a></p>
+ <li id="fn-1">
+ <p>This is the foot note <a href="#fnref-1" aria-label=\"Back to content\">↩</a></p>
</li>
</ol>
EXPECTED