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

test: add more tests

This commit is contained in:
Carlos Alexandro Becker 2018-10-12 00:29:03 -03:00 committed by Carlos Alexandro Becker
parent 23eb2c7756
commit 6d6d6ece8f

View File

@ -20,3 +20,8 @@ func TestPublishDisable(t *testing.T) {
ctx.SkipPublish = true
require.EqualError(t, Pipe{}.Run(ctx), pipe.ErrSkipPublishEnabled.Error())
}
func TestPublish(t *testing.T) {
var ctx = context.New(config.Project{})
require.NoError(t, Pipe{}.Run(ctx))
}