##// END OF EJS Templates
Fixes tests (r1693)....
Jean-Philippe Lang -
r1691:1721376542af
parent child
Show More
@@ -214,14 +214,14 h1. Another title
214
214
215 RAW
215 RAW
216
216
217 expected = '<div class="toc">' +
217 expected = '<ul class="toc">' +
218 '<a href="#1" class="heading1">Title</a>' +
218 '<li class="heading1"><a href="#1">Title</a></li>' +
219 '<a href="#2" class="heading2">Subtitle</a>' +
219 '<li class="heading2"><a href="#2">Subtitle</a></li>' +
220 '<a href="#3" class="heading2">Subtitle with red text</a>' +
220 '<li class="heading2"><a href="#3">Subtitle with red text</a></li>' +
221 '<a href="#4" class="heading1">Another title</a>' +
221 '<li class="heading1"><a href="#4">Another title</a></li>' +
222 '</div>'
222 '</ul>'
223
223
224 assert textilizable(raw).include?(expected)
224 assert textilizable(raw).gsub("\n", "").include?(expected)
225 end
225 end
226
226
227 def test_blockquote
227 def test_blockquote
General Comments 0
You need to be logged in to leave comments. Login now