Skip to content

Commit 12ac72b

Browse files
committed
Bless coverage.
1 parent 0652660 commit 12ac72b

2 files changed

Lines changed: 4 additions & 7 deletions

File tree

tests/coverage/async.coverage

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,15 @@
2424
LL| |
2525
LL| 0|async fn foo() -> [bool; 10] { [false; 10] } // unused function; executor does not block on `h()`
2626
LL| |
27-
LL| 1|async fn g(x: u8) {
28-
^0
27+
LL| 0|async fn g(x: u8) {
2928
LL| 0| match x {
3029
LL| 0| y if e().await == y => (),
3130
LL| 0| y if f().await == y => (),
3231
LL| 0| _ => (),
3332
LL| | }
3433
LL| 0|}
3534
LL| |
36-
LL| 1|async fn h(x: usize) { // The function signature is counted when called, but the body is not
37-
^0
35+
LL| 0|async fn h(x: usize) { // The function signature is counted when called, but the body is not
3836
LL| | // executed (not awaited) so the open brace has a `0` count (at least when
3937
LL| | // displayed with `llvm-cov show` in color-mode).
4038
LL| 0| match x {
@@ -92,8 +90,7 @@
9290
LL| | }
9391
LL| 1|}
9492
LL| |
95-
LL| 1|async fn m(x: u8) -> u8 { x - 1 }
96-
^0^0 ^0
93+
LL| 0|async fn m(x: u8) -> u8 { x - 1 }
9794
LL| |
9895
LL| 1|fn main() {
9996
LL| 1| let _ = g(10);

tests/coverage/issue-93054.coverage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
LL| | }
1919
LL| |}
2020
LL| |
21-
LL| 0|async fn foo2(never: Never) {
21+
LL| |async fn foo2(never: Never) {
2222
LL| | match never {}
2323
LL| |}
2424
LL| |

0 commit comments

Comments
 (0)