summaryrefslogtreecommitdiff
path: root/tests/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tree.c')
-rw-r--r--tests/tree.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tree.c b/tests/tree.c
index 7676ab4..5b96835 100644
--- a/tests/tree.c
+++ b/tests/tree.c
@@ -178,7 +178,7 @@ test_tree_contains(void) {
int
main(void) {
- int rc = -1;
+ int rc = EXIT_FAILURE;
if (test_tree_new()) {
logerr("test_tree_new()");
@@ -192,7 +192,7 @@ main(void) {
test_tree_contains();
- rc = 0;
+ rc = EXIT_SUCCESS;
out:
- return !!rc;
+ return rc;
}