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:
parent
a62314d9bb
commit
1a971c0d9a
@ -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{})
|
||||
|
Loading…
x
Reference in New Issue
Block a user