diff options
author | David Robillard <d@drobilla.net> | 2021-07-08 22:50:02 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-01-13 23:04:25 -0500 |
commit | 51f1de0235cfb091fcc481fa97d48326295d2c58 (patch) | |
tree | eb4114352fce89faeb239de9644d4f92f6e1db86 /test | |
parent | 86178f4cac2259cd2c26ef27488c3ea36a947c7d (diff) | |
download | serd-51f1de0235cfb091fcc481fa97d48326295d2c58.tar.gz serd-51f1de0235cfb091fcc481fa97d48326295d2c58.tar.bz2 serd-51f1de0235cfb091fcc481fa97d48326295d2c58.zip |
Handle read errors more precisely
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 2456e17a..472b464a 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_BAD_WRITE; ++i) { + for (int i = SERD_FAILURE; i <= SERD_ERR_NO_DATA; ++i) { msg = serd_strerror((SerdStatus)i); assert(strcmp(msg, "Success")); } |