mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-10 03:47:03 +02:00
more asserts
This commit is contained in:
parent
a5a809e9b5
commit
773e5379fb
@ -175,6 +175,8 @@ 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)
|
assert.NotContains("commit3", ctx.ReleaseNotes)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user