From c473d89c4e62083047df00a8c246dbf65fee14a0 Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Tue, 4 Jul 2017 09:42:54 -0300 Subject: [PATCH] fixed tests --- pipeline/release/body_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pipeline/release/body_test.go b/pipeline/release/body_test.go index 32f1607ea..109b46e97 100644 --- a/pipeline/release/body_test.go +++ b/pipeline/release/body_test.go @@ -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) {