diff --git a/.travis.yml b/.travis.yml index 17ded8c..d816d31 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,7 +25,7 @@ jobs: include: - stage: lint script: - - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.29.0 + - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.30.0 - golangci-lint run - stage: cross compilation diff --git a/requestid_test.go b/requestid_test.go index 364e6a7..19b41d1 100644 --- a/requestid_test.go +++ b/requestid_test.go @@ -58,6 +58,7 @@ func Test_New(t *testing.T) { //nolint:funlen err := New(Config{})(ctx) if (err != nil) != tt.want.err { t.Errorf("RequestIDMiddleware() unexpected error: %v", err) + return }