Skip to content

Commit

Permalink
test: fixed a broken test
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
  • Loading branch information
caarlos0 committed Sep 18, 2022
1 parent 7ea12d2 commit e9a54ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/pipe/git/git_test.go
Expand Up @@ -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{})
Expand Down

0 comments on commit e9a54ce

Please sign in to comment.