From aaa0048c0131848713226564a03ab9a4abb9ba44 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 28 Dec 2015 16:45:03 -0800 Subject: Added to commonmark renderer test. --- api_test/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'api_test') diff --git a/api_test/main.c b/api_test/main.c index 51c4292..53205e7 100644 --- a/api_test/main.c +++ b/api_test/main.c @@ -601,7 +601,7 @@ static void render_latex(test_batch_runner *runner) { static void render_commonmark(test_batch_runner *runner) { char *commonmark; - static const char markdown[] = "\\- foo *bar* \\*bar\\*\n" + static const char markdown[] = "> \\- foo *bar* \\*bar\\*\n" "\n" "- Lorem ipsum dolor sit - amet,\n" " consectetur adipiscing elit,\n" @@ -612,7 +612,7 @@ static void render_commonmark(test_batch_runner *runner) { commonmark = cmark_render_commonmark(doc, CMARK_OPT_DEFAULT, 24); STR_EQ(runner, commonmark, - "\\- foo *bar* \\*bar\\*\n" + "> \\- foo *bar* \\*bar\\*\n" "\n" "* Lorem ipsum dolor sit\n" " \\- amet, consectetur\n" @@ -624,7 +624,7 @@ static void render_commonmark(test_batch_runner *runner) { "render document with wrapping"); free(commonmark); commonmark = cmark_render_commonmark(doc, CMARK_OPT_DEFAULT, 0); - STR_EQ(runner, commonmark, "\\- foo *bar* \\*bar\\*\n" + STR_EQ(runner, commonmark, "> \\- foo *bar* \\*bar\\*\n" "\n" "* Lorem ipsum dolor sit - amet,\n" " consectetur adipiscing elit,\n" -- cgit v1.2.3