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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/serd_test.c b/tests/serd_test.c
index 2b6bc099..2dea9fe7 100644
--- a/tests/serd_test.c
+++ b/tests/serd_test.c
@@ -215,7 +215,7 @@ main()
if (strcmp((const char*)(msg = serd_strerror(SERD_SUCCESS)), "Success")) {
return failure("Bad message `%s' for SERD_SUCCESS\n", msg);
}
- for (int i = SERD_FAILURE; i <= SERD_ERR_NOT_FOUND; ++i) {
+ for (int i = SERD_FAILURE; i <= SERD_ERR_INTERNAL; ++i) {
msg = serd_strerror((SerdStatus)i);
if (!strcmp((const char*)msg, "Success")) {
return failure("Bad message `%s' for (SerdStatus)%d\n", msg, i);