##// END OF EJS Templates
run-tests: filter whitespace at end of error diffs...
Matt Mackall -
r21737:8a63e691 default
parent child Browse files
Show More
@@ -286,6 +286,9 b' def getdiff(expected, output, ref, err):'
286 servefail = False
286 servefail = False
287 lines = []
287 lines = []
288 for line in difflib.unified_diff(expected, output, ref, err):
288 for line in difflib.unified_diff(expected, output, ref, err):
289 if line.startswith('+++') or line.startswith('---'):
290 if line.endswith(' \n'):
291 line = line[:-2] + '\n'
289 lines.append(line)
292 lines.append(line)
290 if not servefail and line.startswith(
293 if not servefail and line.startswith(
291 '+ abort: child process failed to start'):
294 '+ abort: child process failed to start'):
General Comments 0
You need to be logged in to leave comments. Login now