summaryrefslogtreecommitdiffstats
path: root/test/unit/witness.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/witness.c')
-rw-r--r--test/unit/witness.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/unit/witness.c b/test/unit/witness.c
index d75ca48..c914e4b 100644
--- a/test/unit/witness.c
+++ b/test/unit/witness.c
@@ -38,7 +38,7 @@ witness_comp(const witness_t *a, void *oa, const witness_t *b, void *ob) {
assert(oa == (void *)a);
assert(ob == (void *)b);
- return (strcmp(a->name, b->name));
+ return strcmp(a->name, b->name);
}
static int
@@ -49,7 +49,7 @@ witness_comp_reverse(const witness_t *a, void *oa, const witness_t *b,
assert(oa == (void *)a);
assert(ob == (void *)b);
- return (-strcmp(a->name, b->name));
+ return -strcmp(a->name, b->name);
}
TEST_BEGIN(test_witness) {
@@ -255,11 +255,11 @@ TEST_END
int
main(void) {
- return (test(
+ return test(
test_witness,
test_witness_comp,
test_witness_reversal,
test_witness_recursive,
test_witness_unlock_not_owned,
- test_witness_lockful));
+ test_witness_lockful);
}