1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-03-05 15:15:49 +02:00

Tried to fix circleci

This commit is contained in:
mjarkk 2018-12-14 13:40:29 +01:00
parent 5d038dfd33
commit 0fca27d022

View File

@ -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())
},
},
}