cargo-mutants
cargo-mutants copied to clipboard
Don't mutate fn values for functions entirely composed of skipped statements
cargo-mutatereports that a testing utility function I have doesn't affect anything when mutated from a series ofassert!macros into(). Maybe it would be possible to ignore this mutation if all of the statements areassert!-family macros (thoughitertools::assert_equalis in the same boat, just not an official macro).
Originally posted by @mathstuf in https://github.com/sourcefrog/cargo-mutants/issues/301#issuecomment-2445706178