Skip to content

Commit

Permalink
Use original test suite result when writing diffs (#355)
Browse files Browse the repository at this point in the history
  • Loading branch information
pederhan authored Dec 3, 2024
1 parent a81ee1c commit 4b684c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,8 @@ def diff_command_results(self) -> None:
new_testsuite_results.append(expected.original)
self.diff_unresolved += 1
else:
# No diff, keep new line
new_testsuite_results.append(result.original)
# No diff, keep old line
new_testsuite_results.append(expected.original)

# Only write back changes if we are in review mode and there are changes
if self.review and self.diff_resolved > 0:
Expand Down

0 comments on commit 4b684c8

Please sign in to comment.