aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_reader_writer.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_reader_writer.c')
-rw-r--r--test/test_reader_writer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_reader_writer.c b/test/test_reader_writer.c
index cbe33a4d..bebda449 100644
--- a/test/test_reader_writer.c
+++ b/test/test_reader_writer.c
@@ -261,7 +261,7 @@ test_writer(const char* const path)
serd_free(out);
serd_env_free(env);
- fclose(fd);
+ assert(!fclose(fd));
}
static void