diff options
author | John MacFarlane <jgm@berkeley.edu> | 2016-01-17 13:25:08 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2016-01-17 13:25:08 -0800 |
commit | 9409e2ee7ec7b1a4500a1e09e7ffb24b0eb29195 (patch) | |
tree | f6f07fcc1627ad2d4200f448d64105e8b62066da /api_test/main.c | |
parent | 8c75cce5e755799c743699286403440d10b42bbd (diff) |
Adjusted api test for last commonmark renderer change.
Diffstat (limited to 'api_test/main.c')
-rw-r--r-- | api_test/main.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/api_test/main.c b/api_test/main.c index 9d3bf84..1e93a75 100644 --- a/api_test/main.c +++ b/api_test/main.c @@ -659,26 +659,26 @@ static void render_commonmark(test_batch_runner *runner) { cmark_node *doc = cmark_parse_document(markdown, sizeof(markdown) - 1, CMARK_OPT_DEFAULT); - commonmark = cmark_render_commonmark(doc, CMARK_OPT_DEFAULT, 24); + commonmark = cmark_render_commonmark(doc, CMARK_OPT_DEFAULT, 26); STR_EQ(runner, commonmark, "> \\- foo *bar* \\*bar\\*\n" "\n" - "* Lorem ipsum dolor sit\n" - " amet, consectetur\n" - " adipiscing elit,\n" - "* sed do eiusmod tempor\n" - " incididunt ut labore\n" - " et dolore magna\n" - " aliqua.\n", + " - Lorem ipsum dolor sit\n" + " amet, consectetur\n" + " adipiscing elit,\n" + " - sed do eiusmod tempor\n" + " incididunt ut labore\n" + " et dolore magna\n" + " aliqua.\n", "render document with wrapping"); free(commonmark); commonmark = cmark_render_commonmark(doc, CMARK_OPT_DEFAULT, 0); STR_EQ(runner, commonmark, "> \\- foo *bar* \\*bar\\*\n" "\n" - "* Lorem ipsum dolor sit amet,\n" - " consectetur adipiscing elit,\n" - "* sed do eiusmod tempor incididunt\n" - " ut labore et dolore magna aliqua.\n", + " - Lorem ipsum dolor sit amet,\n" + " consectetur adipiscing elit,\n" + " - sed do eiusmod tempor incididunt\n" + " ut labore et dolore magna aliqua.\n", "render document without wrapping"); free(commonmark); |