diff --git a/pkg/commands/git_test.go b/pkg/commands/git_test.go index 7d29f6889..f599aeed4 100644 --- a/pkg/commands/git_test.go +++ b/pkg/commands/git_test.go @@ -1010,7 +1010,7 @@ func TestGitCommandPush(t *testing.T) { }, false, func(err error) { - assert.Equal(t, "exit status 128", err.Error()) + assert.Contains(t, "exit status 1", err.Error()) }, }, { @@ -1023,7 +1023,7 @@ func TestGitCommandPush(t *testing.T) { }, true, func(err error) { - assert.Equal(t, "exit status 128", err.Error()) + assert.Contains(t, "exit status 1", err.Error()) }, }, { @@ -1035,7 +1035,6 @@ func TestGitCommandPush(t *testing.T) { }, false, func(err error) { - assert.Contains(t, "exit status 1", err.Error()) }, },