mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-10 03:47:03 +02:00
18 lines
356 B
Go
18 lines
356 B
Go
package release
|
|
|
|
import (
|
|
"fmt"
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
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)
|
|
}
|