diff options
author | silverwind <me@silverwind.io> | 2023-10-24 04:54:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-24 02:54:59 +0000 |
commit | ce83609ff636f4c09d91ac53bee75a350bb571d6 (patch) | |
tree | 3ddbab3c0de4fe4249352eb52dbe35dc966e3f9e /tests/integration | |
parent | def907de7b3cda899846d55f99b0da2640a5274b (diff) | |
download | gitea-ce83609ff636f4c09d91ac53bee75a350bb571d6.tar.gz gitea-ce83609ff636f4c09d91ac53bee75a350bb571d6.zip |
Upgrade to golangci-lint@v1.55.0 (#27756)
https://github.com/golangci/golangci-lint/releases/tag/v1.55.0
Diffstat (limited to 'tests/integration')
-rw-r--r-- | tests/integration/integration_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/integration/integration_test.go b/tests/integration/integration_test.go index 76a65e3f03..8534b0393b 100644 --- a/tests/integration/integration_test.go +++ b/tests/integration/integration_test.go @@ -419,9 +419,8 @@ func logUnexpectedResponse(t testing.TB, recorder *httptest.ResponseRecorder) { // if body is short, just log the whole thing t.Log("Response: ", string(respBytes)) return - } else { - t.Log("Response length: ", len(respBytes)) } + t.Log("Response length: ", len(respBytes)) // log the "flash" error message, if one exists // we must create a new buffer, so that we don't "use up" resp.Body |