Skip to content

Commit

Permalink
Merge pull request #68 from k1LoW/fix-comment
Browse files Browse the repository at this point in the history
Fix title
  • Loading branch information
k1LoW authored Sep 17, 2021
2 parents 25d3257 + ec40ba6 commit e5b4873
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 e5b4873

Please sign in to comment.