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

@ -1,6 +1,7 @@
LL| |#![allow(unused_assignments)]
LL| |// failure-status: 1
LL| |
LL| |#[rustfmt::skip]
LL| 1|fn main() -> Result<(), u8> {
LL| 1| let mut countdown = 10;
LL| | while