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)
34 lines
374 B
Perl
34 lines
374 B
Perl
. tests/functions.sh
|
|
|
|
title "paragraph flow"
|
|
|
|
rc=0
|
|
MARKDOWN_FLAGS=
|
|
|
|
try 'header followed by paragraph' \
|
|
'###Hello, sailor###
|
|
And how are you today?' \
|
|
'<h3>Hello, sailor</h3>
|
|
|
|
<p>And how are you today?</p>'
|
|
|
|
try 'two lists punctuated with a HR' \
|
|
'* A
|
|
* * *
|
|
* B
|
|
* C' \
|
|
'<ul>
|
|
<li>A</li>
|
|
</ul>
|
|
|
|
|
|
<hr />
|
|
|
|
<ul>
|
|
<li>B</li>
|
|
<li>C</li>
|
|
</ul>'
|
|
|
|
summary $0
|
|
exit $rc
|