1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-02-03 13:11:48 +02:00

test: fixed git dirty test

This commit is contained in:
Carlos Alexandro Becker 2019-04-14 14:41:24 -03:00
parent a62314d9bb
commit 1a971c0d9a
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -90,7 +90,7 @@ func TestDirty(t *testing.T) {
t.Run("all checks up", func(t *testing.T) {
err = Pipe{}.Run(context.New(config.Project{}))
assert.Error(t, err)
assert.Contains(t, err.Error(), "git is currently in a dirty state:")
assert.Contains(t, err.Error(), "git is currently in a dirty state")
})
t.Run("skip validate is set", func(t *testing.T) {
ctx := context.New(config.Project{})