# HG changeset patch # User Matt Mackall # Date 1414089874 18000 # Node ID 605a8cb61a0c59e102cbb9a3ba845ea0754efe79 # Parent c312ef382033f1ab7cd8213f9f258d4c0f56b37b run-tests: output diffs with only forward slashes This removes some gratuitous variance when testing on Windows with test-run-tests.t. diff -r c312ef382033 -r 605a8cb61a0c tests/run-tests.py --- a/tests/run-tests.py Thu Oct 23 12:35:10 2014 -0200 +++ b/tests/run-tests.py Thu Oct 23 13:44:34 2014 -0500 @@ -298,6 +298,7 @@ lines = [] for line in difflib.unified_diff(expected, output, ref, err): if line.startswith('+++') or line.startswith('---'): + line = line.replace('\\', '/') if line.endswith(' \n'): line = line[:-2] + '\n' lines.append(line)