Remove the last two markdown -V | grep FEATURE blocks.

This commit is contained in:
david parsons
2010-10-28 19:51:07 -07:00
parent b6e6700b38
commit 7f1080c2f0
4 changed files with 8 additions and 15 deletions
-2
View File
@@ -1,5 +1,3 @@
./markdown -V | grep DIV >/dev/null || exit 0
. tests/functions.sh
title "%div% blocks"
+2 -2
View File
@@ -34,7 +34,7 @@ try() {
shift ;;
esac
testcase=`./echo -n " $1" '..................................' | ./cols 36`
testcase=`./echo -n " $1" '........................................................' | ./cols 50`
__tests=`expr $__tests + 1`
@@ -61,7 +61,7 @@ try() {
}
match() {
testcase=`./echo -n " $1" '..................................' | ./cols 36`
testcase=`./echo -n " $1" '........................................................' | ./cols 50`
test $VERBOSE && ./echo -n "$testcase"
+2 -6
View File
@@ -124,9 +124,7 @@ try 'blockquote inside a list' \
<blockquote><p>This is a quote insde a list item.</p></blockquote></li>
</ul>'
if ./markdown -V | grep DL_TAG >/dev/null; then
try 'dl followed by non-dl' \
try 'dl followed by non-dl' \
'=a=
test
2. here' \
@@ -139,7 +137,7 @@ if ./markdown -V | grep DL_TAG >/dev/null; then
<li>here</li>
</ol>'
try 'non-dl followed by dl' \
try 'non-dl followed by dl' \
'1. hello
=sailor=
hi!' \
@@ -153,7 +151,5 @@ if ./markdown -V | grep DL_TAG >/dev/null; then
<dd>hi!</dd>
</dl>'
fi
summary $0
exit $rc
+4 -5
View File
@@ -20,11 +20,10 @@ try "don<b>'t -> don<b>&rsquo;t" "don<b>'t" '<p>don<b>&rsquo;t</p>'
try "don't -> don&rsquo;t" "don't" '<p>don&rsquo;t</p>'
try "it's -> it&rsquo;s" "it's" '<p>it&rsquo;s</p>'
if ./markdown -V | grep SUPERSCRIPT >/dev/null; then
try -frelax 'A^B -> A<sup>B</sup> (-frelax)' 'A^B' '<p>A<sup>B</sup></p>'
try -fstrict 'A^B != A<sup>B</sup> (-fstrict)' 'A^B' '<p>A^B</p>'
try -frelax 'A^B in link title' '[link](here "A^B")' '<p><a href="here" title="A^B">link</a></p>'
fi
try -frelax 'A^B -> A<sup>B</sup> (-frelax)' 'A^B' '<p>A<sup>B</sup></p>'
try -fstrict 'A^B != A<sup>B</sup> (-fstrict)' 'A^B' '<p>A^B</p>'
try -fnosuperscript 'A^B != A<sup>B</sup> (-fnosuperscript)' 'A^B' '<p>A^B</p>'
try -frelax 'A^B in link title' '[link](here "A^B")' '<p><a href="here" title="A^B">link</a></p>'
summary $0
exit $rc