summaryrefslogtreecommitdiffstats
path: root/pkg/commands/commit_list_builder_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/commands/commit_list_builder_test.go')
-rw-r--r--pkg/commands/commit_list_builder_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/commands/commit_list_builder_test.go b/pkg/commands/commit_list_builder_test.go
index cdd360ce8..a1f4a4da9 100644
--- a/pkg/commands/commit_list_builder_test.go
+++ b/pkg/commands/commit_list_builder_test.go
@@ -289,6 +289,10 @@ func TestCommitListBuilderGetCommits(t *testing.T) {
assert.EqualValues(t, []string{"symbolic-ref", "--short", "HEAD"}, args)
// here's where we are returning the error
return exec.Command("test")
+ case "branch":
+ assert.EqualValues(t, []string{"branch", "--contains"}, args)
+ // here too
+ return exec.Command("test")
case "rev-parse":
assert.EqualValues(t, []string{"rev-parse", "--short", "HEAD"}, args)
// here too