diff options
author | David Robillard <d@drobilla.net> | 2023-04-03 08:51:58 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-04-05 09:45:15 -0400 |
commit | b8638fb5c51bcb4d51c6d13c2ee1e4734dfdd616 (patch) | |
tree | 538dc4c909648d45d91a33008b797ba0eccc2de7 /test | |
parent | f93c3fdd6c7d6ca61bec55d3c1ffae7e7c793913 (diff) | |
download | serd-b8638fb5c51bcb4d51c6d13c2ee1e4734dfdd616.tar.gz serd-b8638fb5c51bcb4d51c6d13c2ee1e4734dfdd616.tar.bz2 serd-b8638fb5c51bcb4d51c6d13c2ee1e4734dfdd616.zip |
Improve writer error handling
Diffstat (limited to 'test')
-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")); } |