mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-16 03:52:12 +02:00
improved test
This commit is contained in:
parent
644978173f
commit
9a7277c4ae
@ -8,7 +8,11 @@ import (
|
||||
|
||||
func TestLog(t *testing.T) {
|
||||
assert := assert.New(t)
|
||||
log, err := log("v0.1.9", "v0.2.0")
|
||||
tag, err := currentTag()
|
||||
assert.NoError(err)
|
||||
tagb, err := previousTag(tag)
|
||||
assert.NoError(err)
|
||||
log, err := log(tagb, tag)
|
||||
assert.NoError(err)
|
||||
assert.NotEmpty(log)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user