diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2024-01-16 13:40:01 +1100 | 
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2024-01-16 15:56:37 +1100 | 
| commit | f1494425bbb68e71f2bf3aa215fb71978b36acf2 (patch) | |
| tree | 4676a1d861e10d24c2d7938046b7e7a28d6f5cda /tests/coverage/while_early_ret.coverage | |
| parent | 714b29a17ff5fa727c794bbb60bfd335f8e75d42 (diff) | |
| download | rust-f1494425bbb68e71f2bf3aa215fb71978b36acf2.tar.gz rust-f1494425bbb68e71f2bf3aa215fb71978b36acf2.zip | |
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.
Diffstat (limited to 'tests/coverage/while_early_ret.coverage')
| -rw-r--r-- | tests/coverage/while_early_ret.coverage | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/tests/coverage/while_early_ret.coverage b/tests/coverage/while_early_ret.coverage index 49d39d36603..f4372ad282e 100644 --- a/tests/coverage/while_early_ret.coverage +++ b/tests/coverage/while_early_ret.coverage @@ -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 | 
