summary refs log tree commit diff
path: root/tests/coverage/if_not.coverage
AgeCommit message (Collapse)AuthorLines
2024-01-16coverage: Add `#[rustfmt::skip]` to tests with non-standard formattingZalathar-0/+1
These tests deliberately use non-standard formatting, so that the line execution counts reported by `llvm-cov` reveal additional information about where code regions begin and end.
2023-12-08coverage: Use `SpanMarker` to mark the full condition of `if !`Zalathar-2/+2
When MIR is built for an if-not expression, the `!` part of the condition doesn't correspond to any MIR statement, so coverage instrumentation normally can't see it. We can fix that by deliberately injecting a dummy statement whose sole purpose is to associate that span with its enclosing block.
2023-12-08coverage: Add a dedicated test for coverage of `if !`Zalathar-0/+38