aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_string.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_string.c')
-rw-r--r--test/test_string.c2
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"));
}