summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2022-05-28 18:22:09 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2022-05-28 18:22:09 +0000
commit25883ce5d0286d88f9126f895f8498199069b2b9 (patch)
treea14c29877799558ffe608e85a57c974b13a9c9fb /test
parent283f0a655e9933822db90f2b5da8e02e8df07370 (diff)
downloadredmine-25883ce5d0286d88f9126f895f8498199069b2b9.tar.gz
redmine-25883ce5d0286d88f9126f895f8498199069b2b9.zip
Fix failing test (#35892).
git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21618 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/unit/lib/redmine/wiki_formatting/common_mark/sanitization_filter_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/lib/redmine/wiki_formatting/common_mark/sanitization_filter_test.rb b/test/unit/lib/redmine/wiki_formatting/common_mark/sanitization_filter_test.rb
index 87f67a76a..8cd6074ee 100644
--- a/test/unit/lib/redmine/wiki_formatting/common_mark/sanitization_filter_test.rb
+++ b/test/unit/lib/redmine/wiki_formatting/common_mark/sanitization_filter_test.rb
@@ -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