diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-12-28 17:12:40 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-12-28 17:12:40 -0800 |
commit | dd1c58355f69a5fb3ab6fc90a32f48c8a9913176 (patch) | |
tree | 3150bc0b90f60090dfc7d53fdcf66d40f677818e /api_test | |
parent | b50a2cd618802543e01f46bffb4b19d5bd5b4ba6 (diff) |
Rename CMARK_NODE_LIST_ITEM -> CMARK_NODE_ITEM.
Diffstat (limited to 'api_test')
-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 e26a7ec..88f7cef 100644 --- a/api_test/main.c +++ b/api_test/main.c @@ -17,7 +17,7 @@ static const cmark_node_type node_types[] = { CMARK_NODE_DOCUMENT, CMARK_NODE_BLOCK_QUOTE, CMARK_NODE_LIST, - CMARK_NODE_LIST_ITEM, + CMARK_NODE_ITEM, CMARK_NODE_CODE_BLOCK, CMARK_NODE_HTML, CMARK_NODE_PARAGRAPH, @@ -413,7 +413,7 @@ hierarchy(test_batch_runner *runner) ? CMARK_NODE_LAST_BLOCK : CMARK_NODE_LAST_INLINE; OK(runner, max_node_type < 32, "all node types < 32"); - int list_item_flag = 1 << CMARK_NODE_LIST_ITEM; + int list_item_flag = 1 << CMARK_NODE_ITEM; int top_level_blocks = (1 << CMARK_NODE_BLOCK_QUOTE) | (1 << CMARK_NODE_LIST) | @@ -436,7 +436,7 @@ hierarchy(test_batch_runner *runner) test_content(runner, CMARK_NODE_DOCUMENT, top_level_blocks); test_content(runner, CMARK_NODE_BLOCK_QUOTE, top_level_blocks); test_content(runner, CMARK_NODE_LIST, list_item_flag); - test_content(runner, CMARK_NODE_LIST_ITEM, top_level_blocks); + test_content(runner, CMARK_NODE_ITEM, top_level_blocks); test_content(runner, CMARK_NODE_CODE_BLOCK , 0); test_content(runner, CMARK_NODE_HTML, 0); test_content(runner, CMARK_NODE_PARAGRAPH, all_inlines); |