1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2024-12-31 01:53:50 +02:00

test: fixed a broken test

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
Carlos A Becker 2022-09-18 14:21:33 -03:00
parent 7ea12d2ac5
commit e9a54ce40b
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

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