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

Fixed test

This commit is contained in:
mjarkk
2018-10-27 15:01:16 +02:00
parent 14cff0bd07
commit 1df1053947

View File

@ -1017,7 +1017,9 @@ func TestGitCommandPush(t *testing.T) {
t.Run(s.testName, func(t *testing.T) { t.Run(s.testName, func(t *testing.T) {
gitCmd := newDummyGitCommand() gitCmd := newDummyGitCommand()
gitCmd.OSCommand.command = s.command gitCmd.OSCommand.command = s.command
s.test(gitCmd.Push("test", s.forcePush)) s.test(gitCmd.Push("test", s.forcePush, func(passOrUname string) string {
return "-"
}))
}) })
} }
} }