mirror of
https://github.com/Orc/discount.git
synced 2026-09-25 04:10:00 +03:00
Add a testcase for reparsing
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
echo "footnotes inside reparse sections"
|
||||
|
||||
rc=0
|
||||
|
||||
RES="[![foo][]](bar)
|
||||
|
||||
[foo]: bar2"
|
||||
|
||||
echo -n ' footnote inside [] section ....... '
|
||||
|
||||
if echo "$RES" | ./markdown | fgrep bar2 >/dev/null; then
|
||||
echo "ok"
|
||||
else
|
||||
echo "FAILED"
|
||||
rc=1
|
||||
fi
|
||||
|
||||
exit $rc
|
||||
Reference in New Issue
Block a user