Skip to content

Commit 3d24cf9

Browse files
author
zhuyunxing
committed
coverage. Fix test typo
1 parent 56f1700 commit 3d24cf9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/coverage/mcdc/if.coverage

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@
162162
LL| |
163163
LL| 4|fn mcdc_check_not_tree_decision(a: bool, b: bool, c: bool) {
164164
LL| 4| // Contradict to `mcdc_check_tree_decision`,
165-
LL| 4| // 100% branch coverage of this expression does not mean indicates 100% mcdc coverage.
165+
LL| 4| // 100% branch coverage of this expression does not indicate 100% mcdc coverage.
166166
LL| 4| if (a || b) && c {
167167
^1
168168
------------------

tests/coverage/mcdc/if.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ fn mcdc_check_tree_decision(a: bool, b: bool, c: bool) {
4848

4949
fn mcdc_check_not_tree_decision(a: bool, b: bool, c: bool) {
5050
// Contradict to `mcdc_check_tree_decision`,
51-
// 100% branch coverage of this expression does not mean indicates 100% mcdc coverage.
51+
// 100% branch coverage of this expression does not indicate 100% mcdc coverage.
5252
if (a || b) && c {
5353
say("pass");
5454
} else {

0 commit comments

Comments
 (0)