Drop mutate-changes' --no-renames, which a diff limited to the changed paths makes moot, and test the reason each of its failures gives
CI / tests (pull_request) Successful in 2m25s

This commit is contained in:
2026-11-11 20:31:28 +01:00
parent 11804ac6aa
commit 63369d5944
3 changed files with 60 additions and 11 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ CARGO_OUTCOMES = ("caught", "missed", "timeout", "unviable")
def run_cargo_mutants(top: str, base: str, paths: list[str], prefix: str | None, jobs: int) -> list[str] | Failure:
"""A line with cargo-mutants' mutant count, then a line per mutant it missed or that timed out, as `<path>:<line>:<column>: <outcome>: <mutation>`."""
diff = git("diff", "--no-color", "--no-ext-diff", "--no-textconv", "--no-renames", base, "--", *paths, cwd=top)
diff = git("diff", "--no-color", "--no-ext-diff", "--no-textconv", base, "--", *paths, cwd=top)
if isinstance(diff, Failure):
return diff
try: