1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

fix: lint issues

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit is contained in:
Carlos Alexandro Becker 2021-03-23 09:29:06 -03:00
parent b35c092cb4
commit 64ca73637a

View File

@ -184,6 +184,7 @@ func TestRunPipe(t *testing.T) {
manifestAssertError: shouldNotErr,
assertImageLabels: noLabels,
extraPrepare: func(t *testing.T, ctx *context.Context) {
t.Helper()
for _, cmd := range []string{
fmt.Sprintf("docker build -t %sgoreleaser/dummy:v1 --platform linux/amd64 -f testdata/Dockerfile.dummy .", registry),
fmt.Sprintf("docker push %sgoreleaser/dummy:v1", registry),
@ -772,6 +773,7 @@ func TestRunPipe(t *testing.T) {
assertImageLabels: noLabels,
assertError: shouldErr(`/wont-exist: no such file or directory`),
extraPrepare: func(t *testing.T, ctx *context.Context) {
t.Helper()
ctx.Artifacts.Add(&artifact.Artifact{
Name: "wont-exist",
Path: "wont-exist",