1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-03-11 11:43:08 +00:00

Fix failing test (#35892).

git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21618 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Marius Balteanu 2022-05-28 18:22:09 +00:00
parent 283f0a655e
commit 25883ce5d0

View File

@ -47,9 +47,9 @@ if Object.const_defined?(:CommonMarker)
end
def test_should_support_footnotes
input = %(<a href="#fn1" id="fnref1">foo</a>)
input = %(<a href="#fn-1" id="fnref-1">foo</a>)
assert_equal input, filter(input)
input = %(<ol><li id="fn1">footnote</li></ol>)
input = %(<ol><li id="fn-1">footnote</li></ol>)
assert_equal input, filter(input)
end