mirror of
https://github.com/Orc/discount.git
synced 2026-09-25 04:10:00 +03:00
Remove the last two markdown -V | grep FEATURE blocks.
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
./markdown -V | grep DIV >/dev/null || exit 0
|
||||
|
||||
. tests/functions.sh
|
||||
|
||||
title "%div% blocks"
|
||||
|
||||
+2
-2
@@ -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
@@ -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
@@ -20,11 +20,10 @@ try "don<b>'t -> don<b>’t" "don<b>'t" '<p>don<b>’t</p>'
|
||||
try "don't -> don’t" "don't" '<p>don’t</p>'
|
||||
try "it's -> it’s" "it's" '<p>it’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
|
||||
|
||||
Reference in New Issue
Block a user