1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-24 04:16:27 +02:00
goreleaser/pipeline/release/release_test.go

17 lines
355 B
Go
Raw Normal View History

2016-12-29 11:21:50 -02:00
package release
import (
"fmt"
2016-12-30 12:03:43 -02:00
"github.com/stretchr/testify/assert"
"testing"
2016-12-29 11:21:50 -02:00
)
func TestDescription(t *testing.T) {
assert := assert.New(t)
desc := description("0abf342 some message")
assert.Contains(desc, "0abf342 some message")
assert.Contains(desc, "Automated with @goreleaser")
assert.Contains(desc, "go version go1.")
fmt.Println(desc)
}