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

improved test coverage

This commit is contained in:
Carlos Alexandro Becker 2017-04-21 19:55:25 -03:00
parent 25472d37da
commit 0dc434dce3
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -168,10 +168,17 @@ func TestRunPipeNoPublish(t *testing.T) {
func TestRunPipeDraftRelease(t *testing.T) {
assert := assert.New(t)
var ctx = &context.Context{
Publish: true,
Config: config.Project{
Release: config.Release{
Draft: true,
},
Brew: config.Homebrew{
GitHub: config.Repo{
Owner: "test",
Name: "test",
},
},
},
}
client := &DummyClient{}