mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-24 04:16:27 +02:00
fixed tests
This commit is contained in:
parent
5e0c55ac6b
commit
c473d89c4e
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user