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

Merge pull request #302 from goreleaser/test

ensuring #300 doesnt happen
This commit is contained in:
Carlos Alexandro Becker 2017-07-13 22:27:22 -03:00 committed by GitHub
commit bab163ed1e

View File

@ -175,6 +175,9 @@ func TestValidState(t *testing.T) {
Validate: true,
}
assert.NoError(Pipe{}.Run(ctx))
assert.Equal("v0.0.2", ctx.Git.CurrentTag)
assert.NotContains("commit4", ctx.ReleaseNotes)
assert.NotContains("commit3", ctx.ReleaseNotes)
}
func TestNoValidate(t *testing.T) {