diff options
Diffstat (limited to 'git-codereview/submit_test.go')
| -rw-r--r-- | git-codereview/submit_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git-codereview/submit_test.go b/git-codereview/submit_test.go index 29f9c02..3e18fd8 100644 --- a/git-codereview/submit_test.go +++ b/git-codereview/submit_test.go @@ -250,12 +250,12 @@ func testSubmitMultiple(t *testing.T, gt *gitTest, srv *gerritServer) (*GerritCh cl1 := GerritChange{ Status: "NEW", CurrentRevision: hash1, - Labels: map[string]*GerritLabel{"Code-Review": &GerritLabel{Approved: new(GerritAccount)}}, + Labels: map[string]*GerritLabel{"Code-Review": {Approved: new(GerritAccount)}}, } cl2 := GerritChange{ Status: "NEW", CurrentRevision: hash2, - Labels: map[string]*GerritLabel{"Code-Review": &GerritLabel{Approved: new(GerritAccount)}}, + Labels: map[string]*GerritLabel{"Code-Review": {Approved: new(GerritAccount)}}, } srv.setReply("/a/changes/proj~main~I0000001", gerritReply{f: func() gerritReply { |
