Change condition order

This commit is contained in:
Dmitry Stogov 2023-09-27 00:43:24 +03:00
parent 4fef47b1a5
commit 234bdad1f4

View File

@ -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);