aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-04-03 08:51:58 -0400
committerDavid Robillard <d@drobilla.net>2023-04-05 09:45:15 -0400
commitb8638fb5c51bcb4d51c6d13c2ee1e4734dfdd616 (patch)
tree538dc4c909648d45d91a33008b797ba0eccc2de7 /test
parentf93c3fdd6c7d6ca61bec55d3c1ffae7e7c793913 (diff)
downloadserd-b8638fb5c51bcb4d51c6d13c2ee1e4734dfdd616.tar.gz
serd-b8638fb5c51bcb4d51c6d13c2ee1e4734dfdd616.tar.bz2
serd-b8638fb5c51bcb4d51c6d13c2ee1e4734dfdd616.zip
Improve writer error handling
Diffstat (limited to 'test')
-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 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"));
}