From d6bbed162516a5d3c613ce590e5664de83c84aa0 Mon Sep 17 00:00:00 2001 From: sagar23sj Date: Fri, 16 Jul 2021 17:27:03 +0530 Subject: [PATCH] Make test names consistent --- github/licenses_test.go | 4 ++-- github/orgs_test.go | 2 +- github/pulls_reviewers_test.go | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/github/licenses_test.go b/github/licenses_test.go index 3b9965d58ab..aaaac15cbac 100644 --- a/github/licenses_test.go +++ b/github/licenses_test.go @@ -14,7 +14,7 @@ import ( "github.com/google/go-cmp/cmp" ) -func TestRepositoryLicense_marshal(t *testing.T) { +func TestRepositoryLicense_Marshal(t *testing.T) { testJSONMarshal(t, &RepositoryLicense{}, "{}") rl := &RepositoryLicense{ @@ -74,7 +74,7 @@ func TestRepositoryLicense_marshal(t *testing.T) { testJSONMarshal(t, rl, want) } -func TestLicense_marshal(t *testing.T) { +func TestLicense_Marshal(t *testing.T) { testJSONMarshal(t, &License{}, "{}") l := &License{ diff --git a/github/orgs_test.go b/github/orgs_test.go index 702949ec60b..fe34a5a02bb 100644 --- a/github/orgs_test.go +++ b/github/orgs_test.go @@ -15,7 +15,7 @@ import ( "github.com/google/go-cmp/cmp" ) -func TestOrganization_marshal(t *testing.T) { +func TestOrganization_Marshal(t *testing.T) { testJSONMarshal(t, &Organization{}, "{}") o := &Organization{ diff --git a/github/pulls_reviewers_test.go b/github/pulls_reviewers_test.go index ffa1c0318e7..60502445390 100644 --- a/github/pulls_reviewers_test.go +++ b/github/pulls_reviewers_test.go @@ -14,7 +14,7 @@ import ( "github.com/google/go-cmp/cmp" ) -func TestReviewersRequest_marshal(t *testing.T) { +func TestReviewersRequest_Marshal(t *testing.T) { testJSONMarshal(t, &ReviewersRequest{}, "{}") u := &ReviewersRequest{ @@ -36,7 +36,7 @@ func TestReviewersRequest_marshal(t *testing.T) { testJSONMarshal(t, u, want) } -func TestReviewers_marshal(t *testing.T) { +func TestReviewers_Marshal(t *testing.T) { testJSONMarshal(t, &Reviewers{}, "{}") u := &Reviewers{