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)
13 lines
284 B
Raku
13 lines
284 B
Raku
. tests/functions.sh
|
|
|
|
title "paranoia"
|
|
|
|
rc=0
|
|
MARKDOWN_FLAGS=
|
|
|
|
try -fsafelink 'bogus url (-fsafelink)' '[test](bad:protocol)' '<p>[test](bad:protocol)</p>'
|
|
try -fnosafelink 'bogus url (-fnosafelink)' '[test](bad:protocol)' '<p><a href="bad:protocol">test</a></p>'
|
|
|
|
summary $0
|
|
exit $rc
|