cargo-llvm-cov icon indicating copy to clipboard operation
cargo-llvm-cov copied to clipboard

Unexpected behaviour in the coverage of the lines of the test functions

Open caemor opened this issue 2 years ago • 1 comments

While checking a crate for its test coverage I saw that custom panic messages in test functions are counted as uncovered lines. Is this expected behavior and is already a way to fix this?

Below is a screenshot of a simplified example:

image

caemor avatar Feb 22 '23 15:02 caemor