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

test: improve test

This commit is contained in:
Carlos Alexandro Becker 2023-11-29 23:12:16 -03:00
parent a09a0d7018
commit c567f15ad7
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -58,7 +58,7 @@ func TestReleaseFlags(t *testing.T) {
setup := func(tb testing.TB, opts releaseOpts) *context.Context {
tb.Helper()
ctx := testctx.New()
setupReleaseContext(ctx, opts)
require.NoError(t, setupReleaseContext(ctx, opts))
return ctx
}