diff options
author | David Robillard <d@drobilla.net> | 2018-09-30 20:12:08 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-09-30 20:12:08 +0200 |
commit | 5abe2d76496406ad5ccfa4470a4a08c895da94f2 (patch) | |
tree | 21c1a4e015a988df728141261328826f98bf28de | |
parent | 6244d73850074631ceaaccdf7f755970323f8de2 (diff) | |
download | ingen-5abe2d76496406ad5ccfa4470a4a08c895da94f2.tar.gz ingen-5abe2d76496406ad5ccfa4470a4a08c895da94f2.tar.bz2 ingen-5abe2d76496406ad5ccfa4470a4a08c895da94f2.zip |
Fix order of test failure diffs
-rw-r--r-- | wscript | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -316,10 +316,10 @@ def test(ctx): import sys def test_file_equals(path1, path2): - diff = list(difflib.unified_diff(open(path2).readlines(), - open(path1).readlines(), - path2, - path1)) + diff = list(difflib.unified_diff(open(path1).readlines(), + open(path2).readlines(), + path1, + path2)) autowaf.run_test(ctx, APPNAME, [path2, len(diff) != 0]) if len(diff) > 0: for line in diff: |