mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-17 20:47:50 +02:00
test: fix unstable test
This commit is contained in:
parent
cf008d3ed7
commit
d4540f884f
@ -36,5 +36,5 @@ func TestAny(t *testing.T) {
|
||||
func TestSet(t *testing.T) {
|
||||
ctx := testctx.New()
|
||||
skips.Set(ctx, skips.Publish, skips.Announce)
|
||||
require.Equal(t, []string{"publish", "announce"}, maps.Keys(ctx.Skips))
|
||||
require.ElementsMatch(t, []string{"publish", "announce"}, maps.Keys(ctx.Skips))
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user