1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-11-29 23:07:42 +02:00

test: fix

This commit is contained in:
Carlos Alexandro Becker
2023-11-29 22:40:10 -03:00
parent 1ec5245f51
commit d0d088dee7

View File

@@ -748,7 +748,6 @@ func TestRunHookFailWithLogs(t *testing.T) {
}
ctx := testctx.NewWithCfg(config, testctx.WithCurrentTag("2.4.5"))
err := Pipe{}.Run(ctx)
require.ErrorIs(t, err, exec.ErrNotFound)
require.Contains(t, err.Error(), "pre hook failed")
require.Empty(t, ctx.Artifacts.List())
}