aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_canon.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-08-11 23:28:18 -0400
committerDavid Robillard <d@drobilla.net>2023-12-02 18:49:08 -0500
commitaa96c067439252b1955cfa11e75948d15f1b1656 (patch)
treebed2af41d7d4c3b94026b2732fbeeadca06f78ab /test/test_canon.c
parent339f9d90d1fe001978d15e1c007a3861a7145453 (diff)
downloadserd-aa96c067439252b1955cfa11e75948d15f1b1656.tar.gz
serd-aa96c067439252b1955cfa11e75948d15f1b1656.tar.bz2
serd-aa96c067439252b1955cfa11e75948d15f1b1656.zip
Expose serd_strncasecmp in public API
Diffstat (limited to 'test/test_canon.c')
-rw-r--r--test/test_canon.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/test/test_canon.c b/test/test_canon.c
index 1a569664..7d7fbf28 100644
--- a/test/test_canon.c
+++ b/test/test_canon.c
@@ -63,13 +63,9 @@ test_write_failed_alloc(void)
SerdWorld* const world = serd_world_new(&allocator.base);
- const SerdNode* const s =
- serd_node_new(&allocator.base, serd_a_uri(s_string));
-
- const SerdNode* const p =
- serd_node_new(&allocator.base, serd_a_uri(p_string));
-
- const SerdNode* const o =
+ SerdNode* const s = serd_node_new(&allocator.base, serd_a_uri(s_string));
+ SerdNode* const p = serd_node_new(&allocator.base, serd_a_uri(p_string));
+ SerdNode* const o =
serd_node_new(&allocator.base, serd_a_typed_literal(o_string, xsd_float));
SerdSink* target = serd_sink_new(&allocator.base, NULL, ignore_event, NULL);
@@ -91,6 +87,9 @@ test_write_failed_alloc(void)
serd_sink_free(canon);
serd_sink_free(target);
+ serd_node_free(&allocator.base, o);
+ serd_node_free(&allocator.base, p);
+ serd_node_free(&allocator.base, s);
serd_world_free(world);
}