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
1 changed files with 2 additions and 2 deletions

View File

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