diff options
Diffstat (limited to 'test/test_terse_write.c')
-rw-r--r-- | test/test_terse_write.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_terse_write.c b/test/test_terse_write.c index 2a516c04..0c55eb9d 100644 --- a/test/test_terse_write.c +++ b/test/test_terse_write.c @@ -11,10 +11,10 @@ #include "serd/output_stream.h" #include "serd/sink.h" #include "serd/statement.h" -#include "serd/string_view.h" #include "serd/syntax.h" #include "serd/world.h" #include "serd/writer.h" +#include "zix/string_view.h" #include <assert.h> #include <stdio.h> @@ -43,7 +43,7 @@ test(void) SerdWorld* world = serd_world_new(NULL); SerdAllocator* alloc = serd_world_allocator(world); SerdBuffer buffer = {NULL, NULL, 0}; - SerdEnv* env = serd_env_new(alloc, serd_empty_string()); + SerdEnv* env = serd_env_new(alloc, zix_empty_string()); SerdNodes* nodes = serd_nodes_new(alloc); const SerdNode* b1 = serd_nodes_get(nodes, serd_a_blank_string("b1")); @@ -64,7 +64,7 @@ test(void) const SerdNode* rdf_nil = serd_nodes_get(nodes, serd_a_uri_string(NS_RDF "nil")); - serd_env_set_prefix(env, serd_string("rdf"), serd_string(NS_RDF)); + serd_env_set_prefix(env, zix_string("rdf"), zix_string(NS_RDF)); SerdOutputStream output = serd_open_output_buffer(&buffer); SerdWriter* const writer = |