From 1df1053947a2206d85a739208faa383f0735bd7b Mon Sep 17 00:00:00 2001 From: mjarkk Date: Sat, 27 Oct 2018 15:01:16 +0200 Subject: [PATCH] Fixed test --- pkg/commands/git_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/commands/git_test.go b/pkg/commands/git_test.go index ebb9de136..06fa977cc 100644 --- a/pkg/commands/git_test.go +++ b/pkg/commands/git_test.go @@ -1017,7 +1017,9 @@ func TestGitCommandPush(t *testing.T) { t.Run(s.testName, func(t *testing.T) { gitCmd := newDummyGitCommand() gitCmd.OSCommand.command = s.command - s.test(gitCmd.Push("test", s.forcePush)) + s.test(gitCmd.Push("test", s.forcePush, func(passOrUname string) string { + return "-" + })) }) } }