From ef66b92df8df2bac821e70756c991a2438e973e4 Mon Sep 17 00:00:00 2001 From: Glenn Lewis <6598971+gmlewis@users.noreply.github.com> Date: Thu, 15 Jul 2021 18:28:24 -0400 Subject: [PATCH] Make test names consistent --- github/gists_comments_test.go | 2 +- github/gists_test.go | 6 +++--- github/projects_test.go | 2 +- github/pulls_comments_test.go | 2 +- github/teams_test.go | 2 +- github/users_test.go | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/github/gists_comments_test.go b/github/gists_comments_test.go index f93b03defde..0b3cb73a859 100644 --- a/github/gists_comments_test.go +++ b/github/gists_comments_test.go @@ -16,7 +16,7 @@ import ( "github.com/google/go-cmp/cmp" ) -func TestGistComments_marshall(t *testing.T) { +func TestGistComments_Marshal(t *testing.T) { testJSONMarshal(t, &GistComment{}, "{}") createdAt := time.Date(2002, time.February, 10, 15, 30, 0, 0, time.UTC) diff --git a/github/gists_test.go b/github/gists_test.go index c00748ab00b..06a1c43f722 100644 --- a/github/gists_test.go +++ b/github/gists_test.go @@ -16,7 +16,7 @@ import ( "github.com/google/go-cmp/cmp" ) -func TestGist_marshall(t *testing.T) { +func TestGist_Marshal(t *testing.T) { testJSONMarshal(t, &Gist{}, "{}") createdAt := time.Date(2010, time.February, 10, 10, 10, 0, 0, time.UTC) @@ -105,7 +105,7 @@ func TestGist_marshall(t *testing.T) { testJSONMarshal(t, u, want) } -func TestGistCommit_marshall(t *testing.T) { +func TestGistCommit_Marshal(t *testing.T) { testJSONMarshal(t, &GistCommit{}, "{}") u := &GistCommit{ @@ -169,7 +169,7 @@ func TestGistCommit_marshall(t *testing.T) { testJSONMarshal(t, u, want) } -func TestGistFork_marshall(t *testing.T) { +func TestGistFork_Marshal(t *testing.T) { testJSONMarshal(t, &GistFork{}, "{}") u := &GistFork{ diff --git a/github/projects_test.go b/github/projects_test.go index 241ff5de2ee..c198c6feb5a 100644 --- a/github/projects_test.go +++ b/github/projects_test.go @@ -16,7 +16,7 @@ import ( "github.com/google/go-cmp/cmp" ) -func TestProject_marshall(t *testing.T) { +func TestProject_Marshal(t *testing.T) { testJSONMarshal(t, &Project{}, "{}") u := &Project{ diff --git a/github/pulls_comments_test.go b/github/pulls_comments_test.go index fa3e5b30432..cd6f19c12c8 100644 --- a/github/pulls_comments_test.go +++ b/github/pulls_comments_test.go @@ -17,7 +17,7 @@ import ( "github.com/google/go-cmp/cmp" ) -func TestPullComments_marshall(t *testing.T) { +func TestPullComments_Marshal(t *testing.T) { testJSONMarshal(t, &PullRequestComment{}, "{}") createdAt := time.Date(2002, time.February, 10, 15, 30, 0, 0, time.UTC) diff --git a/github/teams_test.go b/github/teams_test.go index aa18e8a8af5..748721c3a4d 100644 --- a/github/teams_test.go +++ b/github/teams_test.go @@ -1586,7 +1586,7 @@ func TestTeamsService_CreateOrUpdateIDPGroupConnectionsBySlug_empty(t *testing.T } } -func TestTeams_marshall(t *testing.T) { +func TestTeams_Marshal(t *testing.T) { testJSONMarshal(t, &Team{}, "{}") u := &Team{ diff --git a/github/users_test.go b/github/users_test.go index 7a2b0869625..4d7b6fad98c 100644 --- a/github/users_test.go +++ b/github/users_test.go @@ -15,7 +15,7 @@ import ( "github.com/google/go-cmp/cmp" ) -func TestUser_marshall(t *testing.T) { +func TestUser_Marshal(t *testing.T) { testJSONMarshal(t, &User{}, "{}") u := &User{