mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-14 11:02:27 +03:00
fix tests
This commit is contained in:
@ -1010,7 +1010,7 @@ func TestGitCommandPush(t *testing.T) {
|
||||
},
|
||||
false,
|
||||
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,
|
||||
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,
|
||||
func(err error) {
|
||||
assert.Contains(t, err.Error(), "exit status 1")
|
||||
assert.Contains(t, err.Error(), "error: failed to push some refs")
|
||||
},
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user