aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_nodes.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_nodes.c')
-rw-r--r--test/test_nodes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_nodes.c b/test/test_nodes.c
index 7e67eb30..74c99c11 100644
--- a/test/test_nodes.c
+++ b/test/test_nodes.c
@@ -88,7 +88,7 @@ test_plain_literal(void)
SerdNodes* const nodes = serd_nodes_new();
const SerdNode* const node =
- serd_nodes_plain_literal(nodes, string, language);
+ serd_nodes_literal(nodes, string, SERD_HAS_LANGUAGE, language);
assert(node);
assert(serd_node_type(node) == SERD_LITERAL);
@@ -113,7 +113,7 @@ test_typed_literal(void)
SerdNodes* const nodes = serd_nodes_new();
const SerdNode* const node =
- serd_nodes_typed_literal(nodes, string, datatype);
+ serd_nodes_literal(nodes, string, SERD_HAS_DATATYPE, datatype);
assert(node);
assert(serd_node_type(node) == SERD_LITERAL);