Fix reversed diff output order in view layer tests.

This commit is contained in:
Brecht Van Lommel 2018-04-25 23:59:35 +02:00
parent d60be68100
commit 11995c5a6e

@ -182,7 +182,7 @@ def compare_files(file_a, file_b):
if DUMP_DIFF: if DUMP_DIFF:
import subprocess import subprocess
subprocess.call(["diff", "-u", file_a, file_b]) subprocess.call(["diff", "-u", file_b, file_a])
if UPDATE_DIFF: if UPDATE_DIFF:
import subprocess import subprocess
@ -191,7 +191,7 @@ def compare_files(file_a, file_b):
if PDB: if PDB:
import pdb import pdb
print("Files differ:", file_a, file_b) print("Files differ:", file_b, file_a)
pdb.set_trace() pdb.set_trace()
return False return False