aboutsummaryrefslogtreecommitdiff
path: root/api_test
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2014-11-19 16:18:44 +0100
committerNick Wellnhofer <wellnhofer@aevum.de>2014-11-19 16:18:44 +0100
commit18169a8174cd0c49d64d95a3b9509a66d359da27 (patch)
treef87d29dbaf2d2e693ec9bef4d031e6496b9ec0f0 /api_test
parenta595a84f691009808d58226ba0ada52e995ff224 (diff)
Rename {get|set}_content to {get|set}_string_content
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 1f4e298..9f1059f 100644
--- a/api_test/main.c
+++ b/api_test/main.c
@@ -22,17 +22,17 @@ create_tree(test_batch_runner *runner)
INT_EQ(runner, cmark_node_check(doc), 0, "prepend1 consistent");
cmark_node *str1 = cmark_node_new(CMARK_NODE_STRING);
- cmark_node_set_content(str1, "Hello, ");
+ cmark_node_set_string_content(str1, "Hello, ");
OK(runner, cmark_node_prepend_child(p, str1), "prepend2");
INT_EQ(runner, cmark_node_check(doc), 0, "prepend2 consistent");
cmark_node *str3 = cmark_node_new(CMARK_NODE_STRING);
- cmark_node_set_content(str3, "!");
+ cmark_node_set_string_content(str3, "!");
OK(runner, cmark_node_append_child(p, str3), "append2");
INT_EQ(runner, cmark_node_check(doc), 0, "append2 consistent");
cmark_node *str2 = cmark_node_new(CMARK_NODE_STRING);
- cmark_node_set_content(str2, "world");
+ cmark_node_set_string_content(str2, "world");
OK(runner, cmark_node_append_child(emph, str2), "append3");
INT_EQ(runner, cmark_node_check(doc), 0, "append3 consistent");