aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-07-22 19:15:24 -0400
committerDavid Robillard <d@drobilla.net>2022-01-14 19:37:51 -0500
commit4584e03fce0d702160f8fde910bb3f24647d4036 (patch)
tree754373f973506f2afeb56d76ab45f688348c6579 /test
parentca3a7049506cd1ba91326a36fc02a7319657728c (diff)
downloadserd-4584e03fce0d702160f8fde910bb3f24647d4036.tar.gz
serd-4584e03fce0d702160f8fde910bb3f24647d4036.tar.bz2
serd-4584e03fce0d702160f8fde910bb3f24647d4036.zip
Rename serd_new_simple_node() to serd_new_token()
Things get confusing without a term for this concept (which is roughly "nodes that are not annoying to construct"), so "token" it is.
Diffstat (limited to 'test')
-rw-r--r--test/test_node.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/test_node.c b/test/test_node.c
index ef17afe9..efd93ddd 100644
--- a/test/test_node.c
+++ b/test/test_node.c
@@ -450,12 +450,6 @@ test_node_from_substring(void)
}
static void
-test_simple_node(void)
-{
- assert(!serd_new_simple_node(SERD_LITERAL, SERD_STRING("Literal")));
-}
-
-static void
check_copy_equals(const SerdNode* const node)
{
SerdNode* const copy = serd_node_copy(node);
@@ -602,7 +596,6 @@ main(void)
test_node_equals();
test_node_from_syntax();
test_node_from_substring();
- test_simple_node();
test_literal();
test_blank();
test_compare();