diff options
author | mjarkk <mkopenga@gmail.com> | 2018-12-14 13:40:29 +0100 |
---|---|---|
committer | mjarkk <mkopenga@gmail.com> | 2018-12-14 13:40:29 +0100 |
commit | 0fca27d0221cba90afe2ac3d8dcb85a7dd6f1e8b (patch) | |
tree | b0925b92602d3ffe1d374e8bdc2309c2bb18779c | |
parent | 5d038dfd334d4bdd767ac4db504a21160a013f79 (diff) |
Tried to fix circleci
-rw-r--r-- | pkg/commands/git_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/commands/git_test.go b/pkg/commands/git_test.go index 7d0a503d7..7d29f6889 100644 --- a/pkg/commands/git_test.go +++ b/pkg/commands/git_test.go @@ -1031,12 +1031,12 @@ func TestGitCommandPush(t *testing.T) { func(cmd string, args ...string) *exec.Cmd { assert.EqualValues(t, "git", cmd) assert.EqualValues(t, []string{"push", "-u", "origin", "test"}, args) - return exec.Command("test") }, false, func(err error) { - assert.Equal(t, "exit status 128", err.Error()) + + assert.Contains(t, "exit status 1", err.Error()) }, }, } |