From 1ee36194cbec2ac8f00fcf9a460a68e049a11732 Mon Sep 17 00:00:00 2001 From: Kevin Zhao Date: Fri, 28 Jan 2022 21:32:16 -0800 Subject: [PATCH] Address lint errors --- github/repos.go | 2 +- github/repos_test.go | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/github/repos.go b/github/repos.go index 63cbe2c17b..228e8d869d 100644 --- a/github/repos.go +++ b/github/repos.go @@ -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"` } diff --git a/github/repos_test.go b/github/repos_test.go index 5edd25d6f3..7fa1e13317 100644 --- a/github/repos_test.go +++ b/github/repos_test.go @@ -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) } }