From e0e5b83f30b784699a5ae039e8ae7e1dd69410d4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 9 Jul 2021 21:25:23 -0400 Subject: Improve writer error handling --- test/test_string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test_string.c') diff --git a/test/test_string.c b/test/test_string.c index a3fb9247..2456e17a 100644 --- a/test/test_string.c +++ b/test/test_string.c @@ -39,7 +39,7 @@ test_strerror(void) { const char* msg = serd_strerror(SERD_SUCCESS); assert(!strcmp(msg, "Success")); - for (int i = SERD_FAILURE; i <= SERD_ERR_OVERFLOW; ++i) { + for (int i = SERD_FAILURE; i <= SERD_ERR_BAD_WRITE; ++i) { msg = serd_strerror((SerdStatus)i); assert(strcmp(msg, "Success")); } -- cgit v1.2.1