diff options
Diffstat (limited to 'test/test_reader_writer.c')
-rw-r--r-- | test/test_reader_writer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_reader_writer.c b/test/test_reader_writer.c index 52d78e29..46c6297b 100644 --- a/test/test_reader_writer.c +++ b/test/test_reader_writer.c @@ -269,8 +269,8 @@ test_writer(const char* const path) writer = serd_writer_new( SERD_TURTLE, (SerdStyle)0, env, NULL, serd_file_sink, empty); - // FIXME: error handling - serd_writer_write_statement(writer, 0, NULL, &s, &p, ¬hing, NULL, NULL); + assert(!serd_writer_write_statement( + writer, 0, NULL, &s, &p, ¬hing, NULL, NULL)); assert((size_t)ftell(empty) == strlen("<>\n\t<http://example.org/pred> ")); |