We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13adbdf commit 9c022faCopy full SHA for 9c022fa
acceptance/bin/diff.py
@@ -43,8 +43,8 @@ def main():
43
elif f not in set1:
44
print(f"Only in {d2}: {f}")
45
else:
46
- a = [replaceAll(patterns, x) for x in p1.read_text().splitlines(True)]
47
- b = [replaceAll(patterns, x) for x in p2.read_text().splitlines(True)]
+ a = replaceAll(patterns, p1.read_text()).splitlines(True)
+ b = replaceAll(patterns, p2.read_text()).splitlines(True)
48
if a != b:
49
p1_str = p1.as_posix()
50
p2_str = p2.as_posix()
0 commit comments