diff --git a/tools/tester.c b/tools/tester.c index 11fb438..e1ca0a7 100644 --- a/tools/tester.c +++ b/tools/tester.c @@ -294,7 +294,7 @@ static int run_test(const char *filename, test *t, int show_diff) out[0] = 0; } - ret = (same_text(t->expect, out) && ret == 0); + ret = ret == 0 && same_text(t->expect, out); if (ret) { unlink(code_filename); unlink(out_filename);