summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
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