diff options
author | David Robillard <d@drobilla.net> | 2019-04-28 16:36:02 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-03-08 23:23:05 -0500 |
commit | 01daa5914169d57a6a6c4925d3f8d76db80a2bd8 (patch) | |
tree | 468a3371fe17adc082e93f7894147c5d67ed47fe /test/test_string.c | |
parent | 36e2f27502524155e6475a75ffcab4999fce166a (diff) | |
download | serd-01daa5914169d57a6a6c4925d3f8d76db80a2bd8.tar.gz serd-01daa5914169d57a6a6c4925d3f8d76db80a2bd8.tar.bz2 serd-01daa5914169d57a6a6c4925d3f8d76db80a2bd8.zip |
Report writer errors and add strict write mode
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 472b464a..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_NO_DATA; ++i) { + for (int i = SERD_FAILURE; i <= SERD_ERR_BAD_WRITE; ++i) { msg = serd_strerror((SerdStatus)i); assert(strcmp(msg, "Success")); } |