diff options
author | David Robillard <d@drobilla.net> | 2021-07-09 21:25:23 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-01-13 23:04:11 -0500 |
commit | e0e5b83f30b784699a5ae039e8ae7e1dd69410d4 (patch) | |
tree | 8d5e63e2d09373de4d3db59038020948c4321dd2 /test/test_string.c | |
parent | d8e718453cf7a29045b648683b0645094bc66ae9 (diff) | |
download | serd-e0e5b83f30b784699a5ae039e8ae7e1dd69410d4.tar.gz serd-e0e5b83f30b784699a5ae039e8ae7e1dd69410d4.tar.bz2 serd-e0e5b83f30b784699a5ae039e8ae7e1dd69410d4.zip |
Improve writer error handling
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 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")); } |