Skip to content

Commit

Permalink
Address lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
k24dizzle committed Jan 29, 2022
1 parent 3de48b4 commit 1ee3619
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion github/repos.go
Expand Up @@ -889,7 +889,7 @@ type RequiredStatusChecks struct {
type RequiredStatusChecksRequest struct {
Strict *bool `json:"strict,omitempty"`
// Note: if both Contexts and Checks are populated,
// the Github API will only use Checks.
// the GitHub API will only use Checks.
Contexts []string `json:"contexts,omitempty"`
Checks []RequiredStatusCheck `json:"checks,omitempty"`
}
Expand Down
1 change: 0 additions & 1 deletion github/repos_test.go
Expand Up @@ -1799,7 +1799,6 @@ func TestRepositoriesService_UpdateRequiredStatusChecks_Checks(t *testing.T) {
},
}
if !cmp.Equal(statusChecks, want) {

t.Errorf("Repositories.UpdateRequiredStatusChecks returned %+v, want %+v", statusChecks, want)
}
}
Expand Down

0 comments on commit 1ee3619

Please sign in to comment.