summaryrefslogtreecommitdiff
path: root/api_test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-12-22 22:55:39 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-12-22 22:55:39 -0800
commit4811dc3ec2330f015444ac6f5ee4f8cbf3563808 (patch)
tree05ba17dcc8b7c3c6f4e6fa274c4f22aaf6cee708 /api_test
parentde6c5fb2c45dfa2791074f7d99a27b23b2106dfc (diff)
Rename hrule -> thematic_break.
CMARK_NODE_HRULE -> CMARK_NODE_THEMATIC_BREAK. However we've defined the former as the latter to keep backwards compatibility. See jgm/CommonMark 8fa94cb460f5e516b0e57adca33f50a669d51f6c
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 ca86b13..ffbd384 100644
--- a/api_test/main.c
+++ b/api_test/main.c
@@ -20,7 +20,7 @@ static const cmark_node_type node_types[] = {
CMARK_NODE_HTML,
CMARK_NODE_PARAGRAPH,
CMARK_NODE_HEADING,
- CMARK_NODE_HRULE,
+ CMARK_NODE_THEMATIC_BREAK,
CMARK_NODE_TEXT,
CMARK_NODE_SOFTBREAK,
CMARK_NODE_LINEBREAK,
@@ -516,7 +516,7 @@ hierarchy(test_batch_runner *runner)
(1 << CMARK_NODE_HTML) |
(1 << CMARK_NODE_PARAGRAPH) |
(1 << CMARK_NODE_HEADING) |
- (1 << CMARK_NODE_HRULE);
+ (1 << CMARK_NODE_THEMATIC_BREAK);
int all_inlines =
(1 << CMARK_NODE_TEXT) |
(1 << CMARK_NODE_SOFTBREAK) |
@@ -536,7 +536,7 @@ hierarchy(test_batch_runner *runner)
test_content(runner, CMARK_NODE_HTML, 0);
test_content(runner, CMARK_NODE_PARAGRAPH, all_inlines);
test_content(runner, CMARK_NODE_HEADING, all_inlines);
- test_content(runner, CMARK_NODE_HRULE, 0);
+ test_content(runner, CMARK_NODE_THEMATIC_BREAK, 0);
test_content(runner, CMARK_NODE_TEXT, 0);
test_content(runner, CMARK_NODE_SOFTBREAK, 0);
test_content(runner, CMARK_NODE_LINEBREAK, 0);