aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_string.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-07-09 21:25:23 -0400
committerDavid Robillard <d@drobilla.net>2022-01-13 23:04:11 -0500
commite0e5b83f30b784699a5ae039e8ae7e1dd69410d4 (patch)
tree8d5e63e2d09373de4d3db59038020948c4321dd2 /test/test_string.c
parentd8e718453cf7a29045b648683b0645094bc66ae9 (diff)
downloadserd-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.c2
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"));
}