aboutsummaryrefslogtreecommitdiffstats
path: root/tests/serd_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/serd_test.c')
-rw-r--r--tests/serd_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/serd_test.c b/tests/serd_test.c
index 0ac1a114..049b4767 100644
--- a/tests/serd_test.c
+++ b/tests/serd_test.c
@@ -276,7 +276,7 @@ main(void)
if (strcmp((msg = serd_strerror(SERD_SUCCESS)), "Success")) {
FAILF("Bad message `%s' for SERD_SUCCESS\n", msg);
}
- for (int i = SERD_FAILURE; i <= SERD_ERR_INTERNAL; ++i) {
+ for (int i = SERD_FAILURE; i <= SERD_ERR_OVERFLOW; ++i) {
msg = serd_strerror((SerdStatus)i);
if (!strcmp((const char*)msg, "Success")) {
FAILF("Bad message `%s' for (SerdStatus)%d\n", msg, i);
@@ -683,7 +683,7 @@ main(void)
ReaderTest rt = { 0, NULL };
SerdSink sink = { &rt, NULL, NULL, test_sink, NULL };
- SerdReader* reader = serd_reader_new(world, SERD_TURTLE, &sink);
+ SerdReader* reader = serd_reader_new(world, SERD_TURTLE, &sink, 4096);
if (!reader) {
FAIL("Failed to create reader\n");
}