diff options
author | silverwind <me@silverwind.io> | 2023-10-24 04:54:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-24 04:54:59 +0200 |
commit | ce83609ff636f4c09d91ac53bee75a350bb571d6 (patch) | |
tree | 3ddbab3c0de4fe4249352eb52dbe35dc966e3f9e /modules/lfs | |
parent | Fix incorrect "tab" parameter for repo search sub-template (#27755) (diff) | |
download | forgejo-ce83609ff636f4c09d91ac53bee75a350bb571d6.tar.xz forgejo-ce83609ff636f4c09d91ac53bee75a350bb571d6.zip |
Upgrade to golangci-lint@v1.55.0 (#27756)
https://github.com/golangci/golangci-lint/releases/tag/v1.55.0
Diffstat (limited to 'modules/lfs')
-rw-r--r-- | modules/lfs/transferadapter_test.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/lfs/transferadapter_test.go b/modules/lfs/transferadapter_test.go index f86d2c54be..6023cd07d3 100644 --- a/modules/lfs/transferadapter_test.go +++ b/modules/lfs/transferadapter_test.go @@ -62,10 +62,9 @@ func TestBasicTransferAdapter(t *testing.T) { json.NewEncoder(payload).Encode(er) return &http.Response{StatusCode: http.StatusNotFound, Body: io.NopCloser(payload)} - } else { - t.Errorf("Unknown test case: %s", url) - return nil } + t.Errorf("Unknown test case: %s", url) + return nil } hc := &http.Client{Transport: RoundTripFunc(roundTripHandler)} |