Skip to content

Commit f281351

Browse files
committed
fix test
1 parent 1639ae9 commit f281351

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/testcoverage/report_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ func Test_ReportForHuman(t *testing.T) {
9494
result := Analyze(cfg, stats, stats)
9595
ReportForHuman(buf, result)
9696

97-
assert.Contains(t, buf.String(), "Current tests coverage has not changed")
97+
assert.Contains(t, buf.String(), "No coverage changes in any files compared to the base")
9898
})
9999

100100
t.Run("diff - has change", func(t *testing.T) {
@@ -114,7 +114,7 @@ func Test_ReportForHuman(t *testing.T) {
114114
ReportForHuman(buf, result)
115115

116116
assert.Contains(t, buf.String(),
117-
"Current tests coverage has changed with 2 lines missing coverage",
117+
"Test coverage has changed in the current files, with 2 lines missing coverage",
118118
)
119119
})
120120
}

0 commit comments

Comments
 (0)