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

18 lines
356 B
Go
Raw Normal View History

2016-12-29 15:21:50 +02:00
package release
import (
"fmt"
2016-12-30 16:03:43 +02:00
"testing"
2017-01-02 14:47:19 +02:00
"github.com/stretchr/testify/assert"
2016-12-29 15: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)
}