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

more asserts

This commit is contained in:
Carlos Alexandro Becker 2017-07-13 22:23:31 -03:00
parent a5a809e9b5
commit 773e5379fb
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -175,6 +175,8 @@ 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)
}