Skip to content

Commit 66da8fa

Browse files
committed
Bless coverage tests
1 parent 7508a9b commit 66da8fa

5 files changed

+9
-11
lines changed

src/test/run-make-fulldeps/coverage-reports/expected_show_coverage.continue.txt

-5
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
5| 1|
66
6| 1| let mut x = 0;
77
7| 11| for _ in 0..10 {
8-
^10
98
8| 10| match is_true {
109
9| | true => {
1110
10| 10| continue;
@@ -17,7 +16,6 @@
1716
16| 0| x = 3;
1817
17| | }
1918
18| 11| for _ in 0..10 {
20-
^10
2119
19| 10| match is_true {
2220
20| 0| false => {
2321
21| 0| x = 1;
@@ -29,7 +27,6 @@
2927
27| 0| x = 3;
3028
28| | }
3129
29| 11| for _ in 0..10 {
32-
^10
3330
30| 10| match is_true {
3431
31| 10| true => {
3532
32| 10| x = 1;
@@ -41,14 +38,12 @@
4138
38| 10| x = 3;
4239
39| | }
4340
40| 11| for _ in 0..10 {
44-
^10
4541
41| 10| if is_true {
4642
42| 10| continue;
4743
43| 0| }
4844
44| 0| x = 3;
4945
45| | }
5046
46| 11| for _ in 0..10 {
51-
^10
5247
47| 10| match is_true {
5348
48| 0| false => {
5449
49| 0| x = 1;

src/test/run-make-fulldeps/coverage-reports/expected_show_coverage.inline.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
4040
39| 30|}
4141
40| |
4242
41| 6|fn display<T: Display>(xs: &[T]) {
43-
42| 18| for x in xs {
43+
42| 24| for x in xs {
44+
^18
4445
43| 18| print!("{}", x);
4546
44| 18| }
4647
45| 6| println!();

src/test/run-make-fulldeps/coverage-reports/expected_show_coverage.loops_branches.txt

+4-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
16| 0| } else {
1818
17| 0| }
1919
18| |
20-
19| 10| for i in 0..10 {
20+
19| 11| for i in 0..10 {
21+
^10
2122
20| 10| if true {
2223
21| 10| if false {
2324
22| 0| while true {}
@@ -43,7 +44,8 @@
4344
41| 1| write!(f, "cool")?;
4445
^0
4546
42| | }
46-
43| 10| for i in 0..10 {
47+
43| 11| for i in 0..10 {
48+
^10
4749
44| 10| if false {
4850
45| 0| } else {
4951
46| 10| if false {

src/test/run-make-fulldeps/coverage-reports/expected_show_coverage.simple_match.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
^0
1414
13| |
1515
14| | for
16-
15| 2| _
16+
15| | _
1717
16| | in
1818
17| 3| 0..2
1919
18| | {

src/test/run-make-fulldeps/coverage-reports/expected_show_coverage.try_error_result.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
14| 1| countdown = 10
1515
15| | ;
1616
16| | for
17-
17| 6| _
17+
17| | _
1818
18| | in
1919
19| 6| 0..10
2020
20| | {
@@ -64,7 +64,7 @@
6464
63| 1| countdown = 10
6565
64| | ;
6666
65| | for
67-
66| 6| _
67+
66| | _
6868
67| | in
6969
68| 6| 0..10
7070
69| | {

0 commit comments

Comments
 (0)