1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-25 21:29:14 +02:00

test(ko): make test more stable

This commit is contained in:
Carlos Alexandro Becker 2024-04-08 10:11:34 -03:00
parent eba43c289e
commit dabe1f31bf
No known key found for this signature in database

View File

@ -507,7 +507,7 @@ func TestPublishPipeError(t *testing.T) {
require.NoError(t, Pipe{}.Default(ctx))
err := Pipe{}.Publish(ctx)
require.Error(t, err)
require.Contains(t, err.Error(), `publish: Get "https://fakerepo:8080/v2/": dial tcp:`)
require.Contains(t, err.Error(), `Get "https://fakerepo:8080/v2/": dial tcp:`)
})
}