aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/serd_test.c6
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);