Bless coverage tests

This commit is contained in:
Cameron Steffen 2021-11-19 10:29:29 -06:00
parent 7508a9b22c
commit 66da8faf17
5 changed files with 9 additions and 11 deletions

View File

@ -5,7 +5,6 @@
5| 1|
6| 1| let mut x = 0;
7| 11| for _ in 0..10 {
^10
8| 10| match is_true {
9| | true => {
10| 10| continue;
@ -17,7 +16,6 @@
16| 0| x = 3;
17| | }
18| 11| for _ in 0..10 {
^10
19| 10| match is_true {
20| 0| false => {
21| 0| x = 1;
@ -29,7 +27,6 @@
27| 0| x = 3;
28| | }
29| 11| for _ in 0..10 {
^10
30| 10| match is_true {
31| 10| true => {
32| 10| x = 1;
@ -41,14 +38,12 @@
38| 10| x = 3;
39| | }
40| 11| for _ in 0..10 {
^10
41| 10| if is_true {
42| 10| continue;
43| 0| }
44| 0| x = 3;
45| | }
46| 11| for _ in 0..10 {
^10
47| 10| match is_true {
48| 0| false => {
49| 0| x = 1;

View File

@ -40,7 +40,8 @@
39| 30|}
40| |
41| 6|fn display<T: Display>(xs: &[T]) {
42| 18| for x in xs {
42| 24| for x in xs {
^18
43| 18| print!("{}", x);
44| 18| }
45| 6| println!();

View File

@ -17,7 +17,8 @@
16| 0| } else {
17| 0| }
18| |
19| 10| for i in 0..10 {
19| 11| for i in 0..10 {
^10
20| 10| if true {
21| 10| if false {
22| 0| while true {}
@ -43,7 +44,8 @@
41| 1| write!(f, "cool")?;
^0
42| | }
43| 10| for i in 0..10 {
43| 11| for i in 0..10 {
^10
44| 10| if false {
45| 0| } else {
46| 10| if false {

View File

@ -13,7 +13,7 @@
^0
13| |
14| | for
15| 2| _
15| | _
16| | in
17| 3| 0..2
18| | {

View File

@ -14,7 +14,7 @@
14| 1| countdown = 10
15| | ;
16| | for
17| 6| _
17| | _
18| | in
19| 6| 0..10
20| | {
@ -64,7 +64,7 @@
63| 1| countdown = 10
64| | ;
65| | for
66| 6| _
66| | _
67| | in
68| 6| 0..10
69| | {