From e541b809ce0c7062c46368082224716d90696993 Mon Sep 17 00:00:00 2001 From: skwerlman Date: Thu, 5 Mar 2020 16:21:51 -0500 Subject: [PATCH] update tests to match changed command --- pkg/commands/git_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/commands/git_test.go b/pkg/commands/git_test.go index 1f6ef2218..fabeb6375 100644 --- a/pkg/commands/git_test.go +++ b/pkg/commands/git_test.go @@ -1449,7 +1449,7 @@ func TestGitCommandGetBranchGraph(t *testing.T) { gitCmd := NewDummyGitCommand() gitCmd.OSCommand.command = func(cmd string, args ...string) *exec.Cmd { assert.EqualValues(t, "git", cmd) - assert.EqualValues(t, []string{"log", "--graph", "--color=always", "--abbrev-commit", "--decorate", "--date=relative", "--pretty=medium", "test"}, args) + assert.EqualValues(t, []string{"log", "--graph", "--color=always", "--abbrev-commit", "--decorate", "--date=relative", "--pretty=medium", "test", "--"}, args) return exec.Command("echo") }