From 4711fdf527f416faee8ff19e15f050d4b48dcfb2 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 5 May 2023 09:43:57 -0400 Subject: [WIP] Generalize node construction API --- test/test_log.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/test_log.c') diff --git a/test/test_log.c b/test/test_log.c index 5da8ec09..aba9fe23 100644 --- a/test/test_log.c +++ b/test/test_log.c @@ -83,7 +83,8 @@ static void test_caret(void) { SerdWorld* const world = serd_world_new(NULL); - SerdNode* const name = serd_new_string(NULL, serd_string("filename")); + + SerdNode* const name = serd_node_new(NULL, serd_a_string("filename")); SerdCaret* const caret = serd_caret_new(NULL, name, 46, 2); serd_logf_at(world, SERD_LOG_LEVEL_NOTICE, caret, "is just ahead of me"); -- cgit v1.2.1