adding a parsing link test
This commit is contained in:
parent
6441bfdc78
commit
dc591b29bb
@ -104,6 +104,11 @@ declare -a tests=(
|
|||||||
$'First paragraph\n\n code1\n code2\n\nSecond paragraph'
|
$'First paragraph\n\n code1\n code2\n\nSecond paragraph'
|
||||||
"<p>First paragraph</p><pre><code>code1code2</code></pre><p>Second paragraph</p>"
|
"<p>First paragraph</p><pre><code>code1code2</code></pre><p>Second paragraph</p>"
|
||||||
|
|
||||||
|
"Link 1"
|
||||||
|
"This is a [link](https://www.google.com) to google"
|
||||||
|
"<p>This is a <a href=\"https://www.google.com\">link</a> to google</p>"
|
||||||
|
|
||||||
|
|
||||||
# You can add more test cases following the same format...
|
# You can add more test cases following the same format...
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -154,4 +159,4 @@ for ((i = 0; i < num_tests; i++)); do
|
|||||||
STATUS=$((STATUS+STATUS_i))
|
STATUS=$((STATUS+STATUS_i))
|
||||||
done
|
done
|
||||||
|
|
||||||
exit $STATUS
|
exit $STATUS
|
||||||
|
Loading…
Reference in New Issue
Block a user