diff options
author | David Robillard <d@drobilla.net> | 2020-08-15 18:22:12 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-08-15 22:53:00 +0200 |
commit | 7221394ae12f87533261ecaae725821fab6db40d (patch) | |
tree | b19440b7ce7552c1ecc94c9f02bc99ec128dc65e /tests | |
parent | 8cfbb485d367c861f20aa51261f4b41e78b144b6 (diff) | |
download | serd-7221394ae12f87533261ecaae725821fab6db40d.tar.gz serd-7221394ae12f87533261ecaae725821fab6db40d.tar.bz2 serd-7221394ae12f87533261ecaae725821fab6db40d.zip |
Clean up reader error handling
Diffstat (limited to 'tests')
-rw-r--r-- | tests/serd_test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/serd_test.c b/tests/serd_test.c index 15500a0e..3d6b6ac9 100644 --- a/tests/serd_test.c +++ b/tests/serd_test.c @@ -148,7 +148,7 @@ test_read_chunks(void) // Read terminator st = serd_reader_read_chunk(reader); - assert(st == SERD_SUCCESS); // FIXME: return SERD_FAILURE? + assert(st == SERD_FAILURE); assert(rt->n_statements == 1); // Read second statement (after null terminator) @@ -158,12 +158,12 @@ test_read_chunks(void) // Read terminator st = serd_reader_read_chunk(reader); - assert(st == SERD_SUCCESS); // FIXME: return SERD_FAILURE? + assert(st == SERD_FAILURE); assert(rt->n_statements == 2); // EOF st = serd_reader_read_chunk(reader); - assert(st == SERD_SUCCESS); // FIXME: return SERD_FAILURE? + assert(st == SERD_FAILURE); assert(rt->n_statements == 2); serd_reader_free(reader); |