summaryrefslogtreecommitdiffstats
path: root/test/test_status.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_status.c')
-rw-r--r--test/test_status.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_status.c b/test/test_status.c
index ca47d6e..6857928 100644
--- a/test/test_status.c
+++ b/test/test_status.c
@@ -1,4 +1,4 @@
-// Copyright 2021 David Robillard <d@drobilla.net>
+// Copyright 2021-2022 David Robillard <d@drobilla.net>
// SPDX-License-Identifier: ISC
#undef NDEBUG
@@ -15,7 +15,7 @@ test_strerror(void)
const char* msg = zix_strerror(ZIX_STATUS_SUCCESS);
assert(!strcmp(msg, "Success"));
- for (int i = ZIX_STATUS_ERROR; i <= ZIX_STATUS_UNAVAILABLE; ++i) {
+ for (int i = ZIX_STATUS_ERROR; i <= ZIX_STATUS_MAX_LINKS; ++i) {
msg = zix_strerror((ZixStatus)i);
assert(strcmp(msg, "Success"));
}