mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-13 05:15:53 +02:00
fix tests
This commit is contained in:
parent
535152e15e
commit
7835fce708
1 changed files with 3 additions and 3 deletions
|
@ -1010,7 +1010,7 @@ func TestGitCommandPush(t *testing.T) {
|
||||||
},
|
},
|
||||||
false,
|
false,
|
||||||
func(err error) {
|
func(err error) {
|
||||||
assert.Contains(t, err.Error(), "exit status 1")
|
assert.Contains(t, err.Error(), "error: failed to push some refs")
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -1023,7 +1023,7 @@ func TestGitCommandPush(t *testing.T) {
|
||||||
},
|
},
|
||||||
true,
|
true,
|
||||||
func(err error) {
|
func(err error) {
|
||||||
assert.Contains(t, err.Error(), "exit status 1")
|
assert.Contains(t, err.Error(), "error: failed to push some refs")
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -1035,7 +1035,7 @@ func TestGitCommandPush(t *testing.T) {
|
||||||
},
|
},
|
||||||
false,
|
false,
|
||||||
func(err error) {
|
func(err error) {
|
||||||
assert.Contains(t, err.Error(), "exit status 1")
|
assert.Contains(t, err.Error(), "error: failed to push some refs")
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue