summaryrefslogtreecommitdiff
path: root/tests/vector.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/vector.c')
-rw-r--r--tests/vector.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/vector.c b/tests/vector.c
index 3a13cda..11568fe 100644
--- a/tests/vector.c
+++ b/tests/vector.c
@@ -556,7 +556,7 @@ out:
int
main(void) {
- int rc = -1;
+ int rc = EXIT_FAILURE;
if (test_vector_new_with()) {
logerr("test_vector_new_with()");
@@ -601,7 +601,7 @@ main(void) {
goto out;
}
- rc = 0;
+ rc = EXIT_SUCCESS;
out:
- return !!rc;
+ return rc;
}