about summary refs log tree commit diff
path: root/tests/coverage/lazy_boolean.coverage
AgeCommit message (Collapse)AuthorLines
2025-05-06coverage: Only merge adjacent coverage spansZalathar-4/+4
This also removes some manipulation of the function signature span that only made sense in the context of merging non-adjacent spans.
2024-11-08coverage: Restrict empty-span expansion to only cover `{` and `}`Zalathar-1/+1
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-1/+1
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-11-07coverage: Migrate `tests/run-coverage` into `tests/coverage`Zalathar-0/+64