diff options
Diffstat (limited to 'test/test_writer.c')
-rw-r--r-- | test/test_writer.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test_writer.c b/test/test_writer.c index 6590ba4a..28c8e117 100644 --- a/test/test_writer.c +++ b/test/test_writer.c @@ -238,8 +238,9 @@ test_strict_write(void) serd_writer_free(writer); serd_env_free(env); - fclose(fd); - remove(path); + + assert(!fclose(fd)); + assert(!remove(path)); } // Produce a write error without setting errno |