aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-05-27 15:48:25 +0200
committerDavid Robillard <d@drobilla.net>2019-04-13 19:48:23 +0200
commit25a0c50bb95f9523e700a2ca91b6b4a61c8243c5 (patch)
treeabcfe360917617b09de82ca01a4c361186cde36c /tests
parent2afbb905c47b12dab0ceddbe8516675d291a4345 (diff)
downloadserd-25a0c50bb95f9523e700a2ca91b6b4a61c8243c5.tar.gz
serd-25a0c50bb95f9523e700a2ca91b6b4a61c8243c5.tar.bz2
serd-25a0c50bb95f9523e700a2ca91b6b4a61c8243c5.zip
WIP: Add validation
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 f923a9c0..933ea9a5 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_OVERFLOW; ++i) {
+ for (int i = SERD_FAILURE; i <= SERD_ERR_INVALID; ++i) {
msg = serd_strerror((SerdStatus)i);
assert(strcmp(msg, "Success"));
}