From 773e5379fb21303d853e1d388827388dade16137 Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Thu, 13 Jul 2017 22:23:31 -0300 Subject: [PATCH] more asserts --- pipeline/git/git_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pipeline/git/git_test.go b/pipeline/git/git_test.go index fad45f685..652a8f183 100644 --- a/pipeline/git/git_test.go +++ b/pipeline/git/git_test.go @@ -175,6 +175,8 @@ func TestValidState(t *testing.T) { Validate: true, } assert.NoError(Pipe{}.Run(ctx)) + assert.Equal("v0.0.2", ctx.Git.CurrentTag) + assert.NotContains("commit4", ctx.ReleaseNotes) assert.NotContains("commit3", ctx.ReleaseNotes) }