You've already forked goreleaser
mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-07-03 00:57:43 +02:00
chore: fix linter errors (#5111)
If applied, this commit will fix the current linter errors, which are currently causing all Github Actions to fail. See, for example, the latest `main` run: https://github.com/goreleaser/goreleaser/actions/runs/10607661596/job/29400451251.
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
package blob
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"errors"
|
||||
"testing"
|
||||
|
||||
"github.com/goreleaser/goreleaser/v2/internal/testctx"
|
||||
@ -28,7 +28,7 @@ func TestErrors(t *testing.T) {
|
||||
"other": "failed to write to bucket: other",
|
||||
} {
|
||||
t.Run(k, func(t *testing.T) {
|
||||
require.EqualError(t, handleError(fmt.Errorf(k), "someurl"), v)
|
||||
require.EqualError(t, handleError(errors.New(k), "someurl"), v)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user