mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 12:54:01 +03:00
Update to the latest golangci-lint
This commit is contained in:
@@ -86,7 +86,7 @@ func (suite *ProxyTestSuite) SetupSuite() {
|
||||
|
||||
func (suite *ProxyTestSuite) TearDownSuite() {
|
||||
if suite.listener != nil {
|
||||
suite.listener.Close()
|
||||
suite.listener.Close() //nolint: errcheck
|
||||
}
|
||||
|
||||
if suite.p != nil {
|
||||
@@ -177,7 +177,7 @@ func (suite *ProxyTestSuite) TestHTTPSRequest() {
|
||||
resp, err := client.Get(addr) //nolint: noctx
|
||||
suite.NoError(err)
|
||||
|
||||
defer resp.Body.Close()
|
||||
defer resp.Body.Close() //nolint: errcheck
|
||||
|
||||
suite.Equal(http.StatusOK, resp.StatusCode)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user