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:
parent
23eb2c7756
commit
6d6d6ece8f
@ -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))
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user