aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-11-25 18:08:54 +0100
committerDavid Robillard <d@drobilla.net>2019-04-13 19:48:23 +0200
commit5443876d8e15c6ad011ede7d46ed36325a6cb282 (patch)
tree69fbb26e35f44a6d49d60c4a8969e6d2cca63a3e /tests
parent3b1252125ca66387f904ce107fb4c6130d5c582d (diff)
downloadserd-5443876d8e15c6ad011ede7d46ed36325a6cb282.tar.gz
serd-5443876d8e15c6ad011ede7d46ed36325a6cb282.tar.bz2
serd-5443876d8e15c6ad011ede7d46ed36325a6cb282.zip
Remove reader status and handle errors more precisely
Diffstat (limited to 'tests')
-rw-r--r--tests/serd_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/serd_test.c b/tests/serd_test.c
index 933ea9a5..e3289a17 100644
--- a/tests/serd_test.c
+++ b/tests/serd_test.c
@@ -247,7 +247,7 @@ main(void)
const char* msg = NULL;
assert(!strcmp((msg = serd_strerror(SERD_SUCCESS)), "Success"));
- for (int i = SERD_FAILURE; i <= SERD_ERR_INVALID; ++i) {
+ for (int i = SERD_FAILURE; i <= SERD_ERR_NO_DATA; ++i) {
msg = serd_strerror((SerdStatus)i);
assert(strcmp(msg, "Success"));
}