Skip to content

Commit e64cff0

Browse files
committed
reviewdog comment
1 parent 98a040e commit e64cff0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

notifier/github/github_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,7 @@ func newFakeAPI() fakeAPI {
8282
return comments, nil, nil
8383
},
8484
FakeIssuesListLabels: func(ctx context.Context, number int, opts *github.ListOptions) ([]*github.Label, *github.Response, error) {
85-
var labels []*github.Label
86-
labels = []*github.Label{
85+
labels := []*github.Label{
8786
&github.Label{
8887
ID: github.Int64(371748792),
8988
Name: github.String("label 1"),

0 commit comments

Comments
 (0)