mirror of
https://github.com/reactos/syzkaller.git
synced 2024-11-26 21:00:30 +00:00
pkg/cover: fix error message capitalization in tests
Follow up to #2074
This commit is contained in:
parent
3bbd2f185f
commit
f9bcf3095b
@ -198,12 +198,12 @@ func checkCSVReport(t *testing.T, CSVReport []byte) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if !reflect.DeepEqual(lines[0], csvHeader) {
|
if !reflect.DeepEqual(lines[0], csvHeader) {
|
||||||
t.Fatalf("Heading line in CSV doesn't match %v", lines[0])
|
t.Fatalf("heading line in CSV doesn't match %v", lines[0])
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, line := range lines {
|
for _, line := range lines {
|
||||||
if line[1] == "main" && line[2] != "1" && line[3] != "1" {
|
if line[1] == "main" && line[2] != "1" && line[3] != "1" {
|
||||||
t.Fatalf("Function coverage percentage doesn't match %v vs. %v", line[2], "100")
|
t.Fatalf("function coverage percentage doesn't match %v vs. %v", line[2], "100")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user