diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-12-28 16:45:03 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-12-28 16:45:03 -0800 |
commit | aaa0048c0131848713226564a03ab9a4abb9ba44 (patch) | |
tree | 62db78326280ec94575cb850fd87f5fe74cf1b1a /api_test/main.c | |
parent | ccc13fd3a007b92c3944af39a3834fa7d33bfe58 (diff) |
Added to commonmark renderer test.
Diffstat (limited to 'api_test/main.c')
-rw-r--r-- | api_test/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
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" |