diff options
author | David Robillard <d@drobilla.net> | 2023-05-05 10:34:37 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-12-02 16:27:02 -0500 |
commit | febb30141356df83a56026bbb14099e3cb2c82fc (patch) | |
tree | f1d2abcdc3872e375ffe8e4138a8043c20b3b1a8 /test/test_string.c | |
parent | b739848b6ea4c038610ceb7c0b00984a86d99fa9 (diff) | |
download | serd-febb30141356df83a56026bbb14099e3cb2c82fc.tar.gz serd-febb30141356df83a56026bbb14099e3cb2c82fc.tar.bz2 serd-febb30141356df83a56026bbb14099e3cb2c82fc.zip |
Use more human-readable status codes
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 3e6e77e5..49106f0a 100644 --- a/test/test_string.c +++ b/test/test_string.c @@ -29,7 +29,7 @@ test_strerror(void) { const char* msg = serd_strerror(SERD_SUCCESS); assert(!strcmp(msg, "Success")); - for (int i = SERD_FAILURE; i <= SERD_ERR_BAD_TEXT; ++i) { + for (int i = SERD_FAILURE; i <= SERD_BAD_LITERAL; ++i) { msg = serd_strerror((SerdStatus)i); assert(strcmp(msg, "Success")); } |