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)
21 lines
396 B
Raku
21 lines
396 B
Raku
. tests/functions.sh
|
|
|
|
title "code blocks"
|
|
|
|
rc=0
|
|
MARKDOWN_FLAGS=
|
|
|
|
try 'format for code block html' \
|
|
' this is
|
|
code' \
|
|
'<pre><code>this is
|
|
code
|
|
</code></pre>'
|
|
|
|
try 'unclosed single backtick' '`hi there' '<p>`hi there</p>'
|
|
try 'unclosed double backtick' '``hi there' '<p>``hi there</p>'
|
|
try 'remove space around code' '`` hi there ``' '<p><code>hi there</code></p>'
|
|
|
|
summary $0
|
|
exit $rc
|