diff options
Diffstat (limited to 'test/test_log.c')
-rw-r--r-- | test/test_log.c | 3 |
1 files changed, 2 insertions, 1 deletions
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"); |