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