Files
discount/tests/toc.t
T
David Parsons 3aa4343255 Rework all of the test cases so they use tests/functions.sh,
which gives me the ability to do verbose and nonverbose test
suite running (`VERBOSE=1 make test` is the traditional output
now, and `make test` just gives pass/fail on each .t file)
2010-02-11 23:13:29 -08:00

22 lines
230 B
Perl

. tests/functions.sh
title "table-of-contents support"
rc=0
MARKDOWN_FLAGS=
try '-T -ftoc' 'table of contents' \
'#H1
hi' \
'
<ul>
<li><a href="#H1">H1</a> </li>
</ul>
<h1 id="H1">H1</h1>
<p>hi</p>'
summary $0
exit $rc