summaryrefslogtreecommitdiff
path: root/api_test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-12-28 16:45:03 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-12-28 16:45:03 -0800
commitaaa0048c0131848713226564a03ab9a4abb9ba44 (patch)
tree62db78326280ec94575cb850fd87f5fe74cf1b1a /api_test
parentccc13fd3a007b92c3944af39a3834fa7d33bfe58 (diff)
Added to commonmark renderer test.
Diffstat (limited to 'api_test')
-rw-r--r--api_test/main.c6
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"