From 1f9353ae2ca81b0a508e38751b0d3ab213526f56 Mon Sep 17 00:00:00 2001 From: Zalathar Date: Tue, 16 Jan 2024 14:12:10 +1100 Subject: coverage: Tweak individual tests to be unaffected by `rustfmt` Some of these tests use non-standard formatting that we can simulate by strategically adding `//` line comments. One contains `where` clauses that would be split across multiple lines, which we can keep on one line by moving the bounds to the generic type instead. --- tests/coverage/while.coverage | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/coverage/while.coverage') diff --git a/tests/coverage/while.coverage b/tests/coverage/while.coverage index c9d497651c9..90c16288d66 100644 --- a/tests/coverage/while.coverage +++ b/tests/coverage/while.coverage @@ -1,6 +1,7 @@ LL| 1|fn main() { LL| 1| let num = 9; LL| 1| while num >= 10 { + LL| 0| // loop body LL| 0| } LL| 1|} -- cgit 1.4.1-3-g733a5