Show More
@@ -298,6 +298,7 b' def getdiff(expected, output, ref, err):' | |||||
298 | lines = [] |
|
298 | lines = [] | |
299 | for line in difflib.unified_diff(expected, output, ref, err): |
|
299 | for line in difflib.unified_diff(expected, output, ref, err): | |
300 | if line.startswith('+++') or line.startswith('---'): |
|
300 | if line.startswith('+++') or line.startswith('---'): | |
|
301 | line = line.replace('\\', '/') | |||
301 | if line.endswith(' \n'): |
|
302 | if line.endswith(' \n'): | |
302 | line = line[:-2] + '\n' |
|
303 | line = line[:-2] + '\n' | |
303 | lines.append(line) |
|
304 | lines.append(line) |
General Comments 0
You need to be logged in to leave comments.
Login now