mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 21:05:48 +02:00
fix specs
This commit is contained in:
parent
f905b27b00
commit
67a446234c
6 changed files with 23 additions and 17 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue