Skip to content

Commit

Permalink
feat: upgrade golangci-lint to v1.44.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio Andres Virviescas Santana committed Jan 31, 2022
1 parent f17bdd9 commit 71d0c39
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ jobs:
- uses: actions/checkout@v2
- uses: golangci/golangci-lint-action@v2
with:
version: v1.43.0
version: v1.44.0
3 changes: 1 addition & 2 deletions listener_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ func TestTCPListener_AcceptTCP(t *testing.T) {

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

_, ok := conn.(*net.TCPConn)
if !ok {
if _, ok := conn.(*net.TCPConn); !ok {
t.Errorf("conn type == %T, want %T", conn, &net.TCPConn{})
}
}
Expand Down
2 changes: 1 addition & 1 deletion router_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ func TestRouter_getGroupFullPath(t *testing.T) {
}
}

func TestRouter_handler(t *testing.T) { //nolint:funlen
func TestRouter_handler(t *testing.T) { //nolint:funlen,maintidx
type counter struct {
viewCalled bool
beforeMiddlewares int
Expand Down

0 comments on commit 71d0c39

Please sign in to comment.