1
Fork 0

coverage: Add #[rustfmt::skip] to tests with non-standard formatting

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.
This commit is contained in:
Zalathar 2024-01-16 13:40:01 +11:00
parent 714b29a17f
commit f1494425bb
42 changed files with 178 additions and 142 deletions

View file

@ -3,6 +3,7 @@
LL| |// the coverage report. However, an unstable sort was causing them to be treated
LL| |// inconsistently when preparing coverage spans.
LL| |
LL| |#[rustfmt::skip]
LL| 1|fn main() {
LL| 1| let truthy = std::env::args().len() == 1;
LL| 1|