1
Fork 0

coverage: Format all remaining tests

These tests can simply be reformatted as normal, because the resulting changes
are unimportant.
This commit is contained in:
Zalathar 2024-01-16 13:52:08 +11:00
parent 1f9353ae2c
commit 99797bbd9f
18 changed files with 70 additions and 54 deletions

View file

@ -9,8 +9,11 @@
LL| |// drop all `Counter` `Coverage` statements from a MIR. `simplify.rs` has logic
LL| |// to handle this condition, and still report dead block coverage.
LL| 1|fn get_u32(val: bool) -> Result<u32, String> {
LL| 1| if val { Ok(1) } else { Err(String::from("some error")) }
^0
LL| 1| if val {
LL| 1| Ok(1)
LL| | } else {
LL| 0| Err(String::from("some error"))
LL| | }
LL| 1|}
LL| |
LL| 1|fn main() {