From dc591b29bb30576e20d4ef1cccdc5981f9b73136 Mon Sep 17 00:00:00 2001 From: Simon Petit Date: Sat, 16 Nov 2024 00:01:20 +0100 Subject: [PATCH] adding a parsing link test --- test/parser/test_md_parser.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/parser/test_md_parser.sh b/test/parser/test_md_parser.sh index a13e813..7429936 100755 --- a/test/parser/test_md_parser.sh +++ b/test/parser/test_md_parser.sh @@ -104,6 +104,11 @@ declare -a tests=( $'First paragraph\n\n code1\n code2\n\nSecond paragraph' "

First paragraph

code1code2

Second paragraph

" + "Link 1" + "This is a [link](https://www.google.com) to google" + "

This is a link to google

" + + # 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)) done -exit $STATUS \ No newline at end of file +exit $STATUS