summaryrefslogtreecommitdiff
path: root/api_test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-11-22 21:22:26 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-11-22 21:22:26 -0800
commitacac9428faa1c3193fb44b3fb0e2dd3cbdaa4ac9 (patch)
tree16bab9f8f34dd6fc22a1b7f27b02b7f92b2939d6 /api_test
parenta3be6dc81c971fa1b3c656d82f7e96794d510212 (diff)
Renamed NODE_BQUOTE -> NODE_BLOCK_QUOTE.
Diffstat (limited to 'api_test')
-rw-r--r--api_test/main.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/api_test/main.c b/api_test/main.c
index b3b5b5a..4ee3546 100644
--- a/api_test/main.c
+++ b/api_test/main.c
@@ -10,7 +10,7 @@
static const cmark_node_type node_types[] = {
CMARK_NODE_DOCUMENT,
- CMARK_NODE_BQUOTE,
+ CMARK_NODE_BLOCK_QUOTE,
CMARK_NODE_LIST,
CMARK_NODE_LIST_ITEM,
CMARK_NODE_FENCED_CODE,
@@ -353,9 +353,9 @@ create_tree(test_batch_runner *runner)
void
hierarchy(test_batch_runner *runner)
{
- cmark_node *bquote1 = cmark_node_new(CMARK_NODE_BQUOTE);
- cmark_node *bquote2 = cmark_node_new(CMARK_NODE_BQUOTE);
- cmark_node *bquote3 = cmark_node_new(CMARK_NODE_BQUOTE);
+ cmark_node *bquote1 = cmark_node_new(CMARK_NODE_BLOCK_QUOTE);
+ cmark_node *bquote2 = cmark_node_new(CMARK_NODE_BLOCK_QUOTE);
+ cmark_node *bquote3 = cmark_node_new(CMARK_NODE_BLOCK_QUOTE);
OK(runner, cmark_node_append_child(bquote1, bquote2),
"append bquote2");
@@ -374,7 +374,7 @@ hierarchy(test_batch_runner *runner)
int list_item_flag = 1 << CMARK_NODE_LIST_ITEM;
int top_level_blocks =
- (1 << CMARK_NODE_BQUOTE) |
+ (1 << CMARK_NODE_BLOCK_QUOTE) |
(1 << CMARK_NODE_LIST) |
(1 << CMARK_NODE_FENCED_CODE) |
(1 << CMARK_NODE_INDENTED_CODE) |
@@ -396,7 +396,7 @@ hierarchy(test_batch_runner *runner)
(1 << CMARK_NODE_IMAGE);
test_content(runner, CMARK_NODE_DOCUMENT, top_level_blocks);
- test_content(runner, CMARK_NODE_BQUOTE, 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_FENCED_CODE, 0);