1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-18 03:56:52 +02:00

test: fix scoop tests

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
Carlos Alexandro Becker 2023-06-01 17:15:21 +00:00
parent 80fddf0384
commit d0ba64e70d
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -740,8 +740,8 @@ func Test_doRun(t *testing.T) {
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
testlib.Mktmp(t)
ctx := tt.args.ctx
ctx.Config.Dist = t.TempDir()
for _, a := range tt.artifacts {
a := a
a.Type = artifact.UploadableArchive