diff options
author | David Robillard <d@drobilla.net> | 2022-09-01 23:14:03 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-09-01 23:59:38 -0400 |
commit | 7cd6a5437c263a4e2b64bafdf780d60ce51f941f (patch) | |
tree | a87d20b772ddc0e864cc2768a999af2d8f92cf13 /test/test_status.c | |
parent | 16a8597f4d52de948291825698b7d2458998a510 (diff) | |
download | zix-7cd6a5437c263a4e2b64bafdf780d60ce51f941f.tar.gz zix-7cd6a5437c263a4e2b64bafdf780d60ce51f941f.tar.bz2 zix-7cd6a5437c263a4e2b64bafdf780d60ce51f941f.zip |
Simplify thread and semaphore status codes
Diffstat (limited to 'test/test_status.c')
-rw-r--r-- | test/test_status.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_status.c b/test/test_status.c index 298b520..1a76ac2 100644 --- a/test/test_status.c +++ b/test/test_status.c @@ -37,7 +37,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_NOT_SUPPORTED; ++i) { + for (int i = ZIX_STATUS_ERROR; i <= ZIX_STATUS_UNAVAILABLE; ++i) { msg = zix_strerror((ZixStatus)i); assert(strcmp(msg, "Success")); } |