mirror of
https://github.com/danog/ir.git
synced 2025-01-22 05:31:32 +01:00
Change condition order
This commit is contained in:
parent
4fef47b1a5
commit
234bdad1f4
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user