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
CI / tests (pull_request) Successful in 2m25s
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user