Add a testcase for reparsing

This commit is contained in:
david parsons
2008-04-14 01:52:07 -07:00
parent d9b09d2046
commit 59925326bd
+18
View File
@@ -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