summaryrefslogtreecommitdiff
path: root/api_test/main.c
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-06-02 16:23:25 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2017-06-02 16:23:25 +0200
commit0b1886ca44e0b562f9022ad95568acd6f9b4e1d2 (patch)
treefdd102e8790f4c114138be472d4009fea3d3f3e6 /api_test/main.c
parent58b37aec94823aae047597593604c7f29d9e48fa (diff)
Fixed cmark_node_get_list_start to return 0 for bullet lists...
as documented! Closes #202.
Diffstat (limited to 'api_test/main.c')
-rw-r--r--api_test/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/api_test/main.c b/api_test/main.c
index 17e1582..d720234 100644
--- a/api_test/main.c
+++ b/api_test/main.c
@@ -59,8 +59,8 @@ static void constructor(test_batch_runner *runner) {
"default is list type is bullet");
INT_EQ(runner, cmark_node_get_list_delim(node), CMARK_NO_DELIM,
"default is list delim is NO_DELIM");
- INT_EQ(runner, cmark_node_get_list_start(node), 1,
- "default is list start is 1");
+ INT_EQ(runner, cmark_node_get_list_start(node), 0,
+ "default is list start is 0");
INT_EQ(runner, cmark_node_get_list_tight(node), 0,
"default is list is loose");
break;