mirror of
https://github.com/Orc/discount.git
synced 2026-09-25 04:10:00 +03:00
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)
22 lines
230 B
Perl
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
|