Skip to content

Commit

Permalink
Fix title
Browse files Browse the repository at this point in the history
  • Loading branch information
k1LoW committed Sep 17, 2021
1 parent 1909973 commit ec40ba6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file modified docs/comment.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion report/report.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func (r *Report) FileCoveagesTable(files []*gh.PullRequestFile) string {
if t == 0 {
coverAll = 0.0
}
title := fmt.Sprintf("### Coverage in pull request scope (%.1f%%)", coverAll)
title := fmt.Sprintf("### Code coverage of files in pull request scope (%.1f%%)", coverAll)

buf := new(bytes.Buffer)
buf.WriteString(fmt.Sprintf("%s\n\n", title))
Expand Down
2 changes: 1 addition & 1 deletion report/report_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func TestFileCoveagesTable(t *testing.T) {
{[]*gh.PullRequestFile{}, ""},
{
[]*gh.PullRequestFile{&gh.PullRequestFile{Filename: "config/yaml.go", BlobURL: "https://github.com/owner/repo/blob/xxx/config/yaml.go"}},
`### Coverage in pull request scope (41.7%)
`### Code coverage of files in pull request scope (41.7%)
| Files | Coverage |
|-------------------------------------------------------------------------|---------:|
Expand Down

0 comments on commit ec40ba6

Please sign in to comment.