summaryrefslogtreecommitdiffstats
path: root/pkg/commands
diff options
context:
space:
mode:
authorskwerlman <skwerlman@users.noreply.github.com>2020-03-05 16:21:51 -0500
committerJesse Duffield <jessedduffield@gmail.com>2020-03-06 09:25:31 +1100
commite541b809ce0c7062c46368082224716d90696993 (patch)
tree6d5d62de226c294a7c8c80050271b370c8171022 /pkg/commands
parent6ca08c6519d7ffd8306099fb78cad86d9168f2a3 (diff)
update tests to match changed command
Diffstat (limited to 'pkg/commands')
-rw-r--r--pkg/commands/git_test.go2
1 files changed, 1 insertions, 1 deletions
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")
}