mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-13 05:15:53 +02:00
explicitly return newlines to our live command stdin
This commit is contained in:
parent
865c7c2332
commit
20a94447d7
4 changed files with 5 additions and 12 deletions
|
@ -1045,7 +1045,7 @@ func TestGitCommandPush(t *testing.T) {
|
|||
gitCmd := newDummyGitCommand()
|
||||
gitCmd.OSCommand.command = s.command
|
||||
err := gitCmd.Push("test", s.forcePush, func(passOrUname string) string {
|
||||
return "-"
|
||||
return "\n"
|
||||
})
|
||||
s.test(err)
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue