Skip to content

Commit b532f1b

Browse files
committed
Update coverage tests.
1 parent 7963bda commit b532f1b

File tree

2 files changed

+25
-21
lines changed

2 files changed

+25
-21
lines changed

tests/coverage/closure.cov-map

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -83,58 +83,60 @@ Number of file 0 mappings: 1
8383
Highest counter ID seen: (none)
8484

8585
Function name: closure::main::{closure#14}
86-
Raw bytes (22): 0x[01, 01, 01, 01, 05, 03, 01, b3, 01, 0d, 02, 1b, 05, 02, 1e, 00, 25, 02, 00, 2f, 00, 33]
86+
Raw bytes (27): 0x[01, 01, 01, 01, 05, 04, 01, b4, 01, 11, 00, 21, 01, 01, 14, 00, 1b, 05, 00, 1e, 00, 25, 02, 00, 2f, 00, 33]
8787
Number of files: 1
8888
- file 0 => global file 1
8989
Number of expressions: 1
9090
- expression 0 operands: lhs = Counter(0), rhs = Counter(1)
91-
Number of file 0 mappings: 3
92-
- Code(Counter(0)) at (prev + 179, 13) to (start + 2, 27)
93-
- Code(Counter(1)) at (prev + 2, 30) to (start + 0, 37)
91+
Number of file 0 mappings: 4
92+
- Code(Counter(0)) at (prev + 180, 17) to (start + 0, 33)
93+
- Code(Counter(0)) at (prev + 1, 20) to (start + 0, 27)
94+
- Code(Counter(1)) at (prev + 0, 30) to (start + 0, 37)
9495
- Code(Expression(0, Sub)) at (prev + 0, 47) to (start + 0, 51)
9596
= (c0 - c1)
9697
Highest counter ID seen: c1
9798

9899
Function name: closure::main::{closure#15}
99-
Raw bytes (37): 0x[01, 01, 01, 01, 05, 06, 01, bb, 01, 09, 00, 0a, 01, 01, 0d, 00, 15, 01, 01, 11, 01, 1b, 05, 01, 1e, 00, 25, 02, 00, 2f, 00, 33, 01, 02, 09, 00, 0a]
100+
Raw bytes (37): 0x[01, 01, 01, 01, 05, 06, 01, bb, 01, 09, 00, 0a, 01, 01, 0d, 01, 21, 01, 02, 14, 00, 1b, 05, 00, 1e, 00, 25, 02, 00, 2f, 00, 33, 01, 02, 09, 00, 0a]
100101
Number of files: 1
101102
- file 0 => global file 1
102103
Number of expressions: 1
103104
- expression 0 operands: lhs = Counter(0), rhs = Counter(1)
104105
Number of file 0 mappings: 6
105106
- Code(Counter(0)) at (prev + 187, 9) to (start + 0, 10)
106-
- Code(Counter(0)) at (prev + 1, 13) to (start + 0, 21)
107-
- Code(Counter(0)) at (prev + 1, 17) to (start + 1, 27)
108-
- Code(Counter(1)) at (prev + 1, 30) to (start + 0, 37)
107+
- Code(Counter(0)) at (prev + 1, 13) to (start + 1, 33)
108+
- Code(Counter(0)) at (prev + 2, 20) to (start + 0, 27)
109+
- Code(Counter(1)) at (prev + 0, 30) to (start + 0, 37)
109110
- Code(Expression(0, Sub)) at (prev + 0, 47) to (start + 0, 51)
110111
= (c0 - c1)
111112
- Code(Counter(0)) at (prev + 2, 9) to (start + 0, 10)
112113
Highest counter ID seen: c1
113114

114115
Function name: closure::main::{closure#16}
115-
Raw bytes (22): 0x[01, 01, 01, 01, 05, 03, 01, c5, 01, 0d, 02, 1b, 05, 02, 1e, 00, 25, 02, 00, 2f, 00, 33]
116+
Raw bytes (27): 0x[01, 01, 01, 01, 05, 04, 01, c6, 01, 11, 00, 21, 01, 01, 14, 00, 1b, 05, 00, 1e, 00, 25, 02, 00, 2f, 00, 33]
116117
Number of files: 1
117118
- file 0 => global file 1
118119
Number of expressions: 1
119120
- expression 0 operands: lhs = Counter(0), rhs = Counter(1)
120-
Number of file 0 mappings: 3
121-
- Code(Counter(0)) at (prev + 197, 13) to (start + 2, 27)
122-
- Code(Counter(1)) at (prev + 2, 30) to (start + 0, 37)
121+
Number of file 0 mappings: 4
122+
- Code(Counter(0)) at (prev + 198, 17) to (start + 0, 33)
123+
- Code(Counter(0)) at (prev + 1, 20) to (start + 0, 27)
124+
- Code(Counter(1)) at (prev + 0, 30) to (start + 0, 37)
123125
- Code(Expression(0, Sub)) at (prev + 0, 47) to (start + 0, 51)
124126
= (c0 - c1)
125127
Highest counter ID seen: c1
126128

127129
Function name: closure::main::{closure#17}
128-
Raw bytes (37): 0x[01, 01, 01, 01, 05, 06, 01, cd, 01, 09, 00, 0a, 01, 01, 0d, 00, 15, 01, 01, 11, 01, 1b, 05, 01, 1e, 00, 25, 02, 00, 2f, 00, 33, 01, 02, 09, 00, 0a]
130+
Raw bytes (37): 0x[01, 01, 01, 01, 05, 06, 01, cd, 01, 09, 00, 0a, 01, 01, 0d, 01, 21, 01, 02, 14, 00, 1b, 05, 00, 1e, 00, 25, 02, 00, 2f, 00, 33, 01, 02, 09, 00, 0a]
129131
Number of files: 1
130132
- file 0 => global file 1
131133
Number of expressions: 1
132134
- expression 0 operands: lhs = Counter(0), rhs = Counter(1)
133135
Number of file 0 mappings: 6
134136
- Code(Counter(0)) at (prev + 205, 9) to (start + 0, 10)
135-
- Code(Counter(0)) at (prev + 1, 13) to (start + 0, 21)
136-
- Code(Counter(0)) at (prev + 1, 17) to (start + 1, 27)
137-
- Code(Counter(1)) at (prev + 1, 30) to (start + 0, 37)
137+
- Code(Counter(0)) at (prev + 1, 13) to (start + 1, 33)
138+
- Code(Counter(0)) at (prev + 2, 20) to (start + 0, 27)
139+
- Code(Counter(1)) at (prev + 0, 30) to (start + 0, 37)
138140
- Code(Expression(0, Sub)) at (prev + 0, 47) to (start + 0, 51)
139141
= (c0 - c1)
140142
- Code(Counter(0)) at (prev + 2, 9) to (start + 0, 10)

tests/coverage/issue-84561.cov-map

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Number of file 0 mappings: 1
5959
Highest counter ID seen: c0
6060

6161
Function name: issue_84561::test3
62-
Raw bytes (279): 0x[01, 01, 0a, 0d, 11, 0d, 15, 0d, 19, 1d, 21, 29, 2d, 25, 29, 25, 29, 25, 29, 27, 31, 29, 2d, 33, 01, 08, 01, 03, 0f, 05, 04, 09, 01, 0f, 09, 02, 05, 04, 0f, 09, 05, 05, 00, 0f, 09, 01, 05, 00, 0f, 09, 01, 09, 01, 0f, 0d, 02, 05, 00, 0f, 0d, 01, 05, 00, 0f, 00, 00, 20, 00, 30, 0d, 01, 05, 03, 0f, 00, 03, 20, 00, 30, 00, 00, 33, 00, 41, 00, 00, 4b, 00, 5a, 0d, 01, 05, 00, 0f, 00, 05, 09, 03, 10, 00, 05, 0d, 00, 1b, 00, 02, 0d, 00, 1c, 0d, 04, 09, 02, 0f, 0d, 06, 05, 00, 0f, 0d, 04, 05, 00, 0f, 0d, 04, 09, 01, 0f, 0d, 05, 08, 00, 0f, 11, 01, 09, 00, 13, 02, 05, 09, 00, 13, 0d, 05, 08, 00, 0f, 15, 01, 09, 00, 13, 00, 03, 0d, 00, 1d, 06, 03, 09, 00, 13, 00, 03, 0d, 00, 1d, 0d, 03, 05, 00, 0f, 0d, 01, 0c, 00, 13, 19, 01, 0d, 00, 13, 0a, 02, 0d, 00, 13, 1d, 04, 05, 02, 13, 21, 03, 0d, 00, 13, 0e, 02, 0d, 00, 13, 27, 03, 05, 00, 0f, 25, 01, 0c, 00, 13, 29, 01, 0d, 00, 17, 29, 04, 0d, 00, 13, 1e, 02, 0d, 00, 17, 1e, 01, 14, 00, 1b, 00, 01, 15, 00, 1b, 1e, 02, 15, 00, 1b, 2d, 04, 0d, 00, 13, 22, 03, 09, 00, 19, 31, 02, 05, 00, 0f, 31, 03, 09, 00, 22, 00, 02, 05, 00, 0f, 00, 03, 09, 00, 2c, 00, 02, 01, 00, 02]
62+
Raw bytes (289): 0x[01, 01, 0a, 0d, 11, 0d, 15, 0d, 19, 1d, 21, 29, 2d, 25, 29, 25, 29, 25, 29, 27, 31, 29, 2d, 35, 01, 08, 01, 03, 0f, 05, 04, 09, 01, 0f, 09, 02, 05, 04, 0f, 09, 05, 05, 00, 0f, 09, 01, 05, 00, 0f, 09, 01, 09, 01, 0f, 0d, 02, 05, 00, 0f, 0d, 01, 05, 00, 0f, 00, 00, 20, 00, 30, 0d, 01, 05, 03, 0f, 00, 03, 20, 00, 24, 00, 00, 29, 00, 30, 00, 00, 33, 00, 41, 00, 00, 4b, 00, 5a, 0d, 01, 05, 00, 0f, 00, 05, 09, 00, 0d, 00, 03, 09, 00, 10, 00, 02, 0d, 00, 1b, 00, 02, 0d, 00, 1c, 0d, 04, 09, 02, 0f, 0d, 06, 05, 00, 0f, 0d, 04, 05, 00, 0f, 0d, 04, 09, 01, 0f, 0d, 05, 08, 00, 0f, 11, 01, 09, 00, 13, 02, 05, 09, 00, 13, 0d, 05, 08, 00, 0f, 15, 01, 09, 00, 13, 00, 03, 0d, 00, 1d, 06, 03, 09, 00, 13, 00, 03, 0d, 00, 1d, 0d, 03, 05, 00, 0f, 0d, 01, 0c, 00, 13, 19, 01, 0d, 00, 13, 0a, 02, 0d, 00, 13, 1d, 04, 05, 02, 13, 21, 03, 0d, 00, 13, 0e, 02, 0d, 00, 13, 27, 03, 05, 00, 0f, 25, 01, 0c, 00, 13, 29, 01, 0d, 00, 17, 29, 04, 0d, 00, 13, 1e, 02, 0d, 00, 17, 1e, 01, 14, 00, 1b, 00, 01, 15, 00, 1b, 1e, 02, 15, 00, 1b, 2d, 04, 0d, 00, 13, 22, 03, 09, 00, 19, 31, 02, 05, 00, 0f, 31, 03, 09, 00, 22, 00, 02, 05, 00, 0f, 00, 03, 09, 00, 2c, 00, 02, 01, 00, 02]
6363
Number of files: 1
6464
- file 0 => global file 1
6565
Number of expressions: 10
@@ -73,7 +73,7 @@ Number of expressions: 10
7373
- expression 7 operands: lhs = Counter(9), rhs = Counter(10)
7474
- expression 8 operands: lhs = Expression(9, Add), rhs = Counter(12)
7575
- expression 9 operands: lhs = Counter(10), rhs = Counter(11)
76-
Number of file 0 mappings: 51
76+
Number of file 0 mappings: 53
7777
- Code(Counter(0)) at (prev + 8, 1) to (start + 3, 15)
7878
- Code(Counter(1)) at (prev + 4, 9) to (start + 1, 15)
7979
- Code(Counter(2)) at (prev + 2, 5) to (start + 4, 15)
@@ -84,12 +84,14 @@ Number of file 0 mappings: 51
8484
- Code(Counter(3)) at (prev + 1, 5) to (start + 0, 15)
8585
- Code(Zero) at (prev + 0, 32) to (start + 0, 48)
8686
- Code(Counter(3)) at (prev + 1, 5) to (start + 3, 15)
87-
- Code(Zero) at (prev + 3, 32) to (start + 0, 48)
87+
- Code(Zero) at (prev + 3, 32) to (start + 0, 36)
88+
- Code(Zero) at (prev + 0, 41) to (start + 0, 48)
8889
- Code(Zero) at (prev + 0, 51) to (start + 0, 65)
8990
- Code(Zero) at (prev + 0, 75) to (start + 0, 90)
9091
- Code(Counter(3)) at (prev + 1, 5) to (start + 0, 15)
91-
- Code(Zero) at (prev + 5, 9) to (start + 3, 16)
92-
- Code(Zero) at (prev + 5, 13) to (start + 0, 27)
92+
- Code(Zero) at (prev + 5, 9) to (start + 0, 13)
93+
- Code(Zero) at (prev + 3, 9) to (start + 0, 16)
94+
- Code(Zero) at (prev + 2, 13) to (start + 0, 27)
9395
- Code(Zero) at (prev + 2, 13) to (start + 0, 28)
9496
- Code(Counter(3)) at (prev + 4, 9) to (start + 2, 15)
9597
- Code(Counter(3)) at (prev + 6, 5) to (start + 0, 15)

0 commit comments

Comments
 (0)