diff options
Diffstat (limited to 'test/test_sink.c')
-rw-r--r-- | test/test_sink.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/test/test_sink.c b/test/test_sink.c index 9c7959de..72c45df6 100644 --- a/test/test_sink.c +++ b/test/test_sink.c @@ -11,7 +11,6 @@ #include "serd/sink.h" #include "serd/statement.h" #include "serd/status.h" -#include "serd/string_view.h" #include <assert.h> #include <stddef.h> @@ -111,10 +110,10 @@ test_failed_alloc(void) static void test_callbacks(void) { - SerdNode* const base = serd_new_uri(NULL, serd_string(NS_EG)); - SerdNode* const name = serd_new_string(NULL, serd_string("eg")); - SerdNode* const uri = serd_new_uri(NULL, serd_string(NS_EG "uri")); - SerdNode* const blank = serd_new_blank(NULL, serd_string("b1")); + SerdNode* const base = serd_node_new(NULL, serd_a_uri_string(NS_EG)); + SerdNode* const name = serd_node_new(NULL, serd_a_string("eg")); + SerdNode* const uri = serd_node_new(NULL, serd_a_uri_string(NS_EG "uri")); + SerdNode* const blank = serd_node_new(NULL, serd_a_blank_string("b1")); SerdEnv* env = serd_env_new(NULL, serd_node_string_view(base)); State state = {0, 0, 0, 0, 0, SERD_SUCCESS}; |