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:
commit
bab163ed1e
@ -175,6 +175,9 @@ func TestValidState(t *testing.T) {
|
|||||||
Validate: true,
|
Validate: true,
|
||||||
}
|
}
|
||||||
assert.NoError(Pipe{}.Run(ctx))
|
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) {
|
func TestNoValidate(t *testing.T) {
|
||||||
|
Loading…
Reference in New Issue
Block a user