From 38f85ad8c53c618033e3d0b7cb1fe782c38cf0a3 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 23 Oct 2022 22:11:35 -0400 Subject: Add SerdCaret --- test/test_reader_writer.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test/test_reader_writer.c') diff --git a/test/test_reader_writer.c b/test/test_reader_writer.c index 062f65fc..39bde443 100644 --- a/test/test_reader_writer.c +++ b/test/test_reader_writer.c @@ -370,7 +370,8 @@ test_read_string(void) assert( !serd_reader_start_string(reader, " " - " .")); + " .", + NULL)); assert(!serd_reader_read_document(reader)); assert(rt->n_base == 0); @@ -433,7 +434,7 @@ test_write_errors(void) const SerdSink* const sink = serd_writer_sink(writer); SerdReader* const reader = serd_reader_new(world, SERD_TRIG, sink, 4096U); - SerdStatus st = serd_reader_start_string(reader, doc_string); + SerdStatus st = serd_reader_start_string(reader, doc_string, NULL); assert(!st); st = serd_reader_read_document(reader); assert(st == SERD_BAD_WRITE); -- cgit v1.2.1