diff options
Diffstat (limited to 'test/test_writer.c')
-rw-r--r-- | test/test_writer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_writer.c b/test/test_writer.c index 35d0bcf3..472d7345 100644 --- a/test/test_writer.c +++ b/test/test_writer.c @@ -28,9 +28,9 @@ static void test_write_long_literal(void) { SerdEnv* env = serd_env_new(NULL); - SerdChunk chunk = {NULL, 0}; + SerdBuffer buffer = {NULL, 0}; SerdWriter* writer = serd_writer_new( - SERD_TURTLE, (SerdStyle)0, env, NULL, serd_chunk_sink, &chunk); + SERD_TURTLE, (SerdStyle)0, env, NULL, serd_buffer_sink, &buffer); assert(writer); @@ -44,7 +44,7 @@ test_write_long_literal(void) serd_writer_free(writer); serd_env_free(env); - uint8_t* out = serd_chunk_sink_finish(&chunk); + uint8_t* out = serd_buffer_sink_finish(&buffer); static const char* const expected = "<http://example.org/s>\n" |