From aa96c067439252b1955cfa11e75948d15f1b1656 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 11 Aug 2021 23:28:18 -0400 Subject: Expose serd_strncasecmp in public API --- test/test_canon.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'test/test_canon.c') 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); } -- cgit v1.2.1