summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test.c b/tests/test.c
index 330a357b..502522f9 100644
--- a/tests/test.c
+++ b/tests/test.c
@@ -102,10 +102,10 @@ main(int argc, char **argv)
desired = slurp(fp, &desired_len);
fclose(fp);
(void)printf("%s: %s\n", argv[1], result);
- if (strcmp(result, desired) != 0) {
+ if (strcmp(result, desired) != 0) {
(void)fprintf(stderr, "Error: result was\n%s\nexpected:\n%s\n", result, desired);
return 1;
- }
+ }
}
}
}