diff options
Diffstat (limited to 'test/test_string.c')
-rw-r--r-- | test/test_string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_string.c b/test/test_string.c index 916281b3..86ccf982 100644 --- a/test/test_string.c +++ b/test/test_string.c @@ -31,7 +31,7 @@ test_strerror(void) { const uint8_t* msg = serd_strerror(SERD_SUCCESS); assert(!strcmp((const char*)msg, "Success")); - for (int i = SERD_FAILURE; i <= SERD_ERR_INTERNAL; ++i) { + for (int i = SERD_FAILURE; i <= SERD_ERR_BAD_WRITE; ++i) { msg = serd_strerror((SerdStatus)i); assert(strcmp((const char*)msg, "Success")); } |