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

fixed tests

This commit is contained in:
Carlos Alexandro Becker 2017-07-04 09:42:54 -03:00
parent 5e0c55ac6b
commit c473d89c4e
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -18,7 +18,7 @@ func TestDescribeBody(t *testing.T) {
assert.NoError(err)
assert.Contains(out.String(), changelog)
assert.Contains(out.String(), "Automated with [GoReleaser]")
assert.Contains(out.String(), "Built with go version go1.8")
assert.Contains(out.String(), "Built with go version go1.")
}
func TestDontEscapeHTML(t *testing.T) {
@ -29,7 +29,7 @@ func TestDontEscapeHTML(t *testing.T) {
}
out, err := describeBody(ctx)
assert.NoError(err)
assert.Contains(changelog, out.String())
assert.Contains(out.String(), changelog)
}
func TestGoVersionFails(t *testing.T) {