Skip to content

Commit 71d0c39

Browse files
author
Sergio Andres Virviescas Santana
committed
feat: upgrade golangci-lint to v1.44.0
1 parent f17bdd9 commit 71d0c39

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ jobs:
77
- uses: actions/checkout@v2
88
- uses: golangci/golangci-lint-action@v2
99
with:
10-
version: v1.43.0
10+
version: v1.44.0

listener_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ func TestTCPListener_AcceptTCP(t *testing.T) {
5151

5252
conn, _ := ln.AcceptTCP() // nolint:ifshort
5353

54-
_, ok := conn.(*net.TCPConn)
55-
if !ok {
54+
if _, ok := conn.(*net.TCPConn); !ok {
5655
t.Errorf("conn type == %T, want %T", conn, &net.TCPConn{})
5756
}
5857
}

router_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ func TestRouter_getGroupFullPath(t *testing.T) {
368368
}
369369
}
370370

371-
func TestRouter_handler(t *testing.T) { //nolint:funlen
371+
func TestRouter_handler(t *testing.T) { //nolint:funlen,maintidx
372372
type counter struct {
373373
viewCalled bool
374374
beforeMiddlewares int

0 commit comments

Comments
 (0)