mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 07:36:27 -04:00
fix 'Amend commit using gpg' test
Signed-off-by: Randshot <randshot@norealm.xyz>
This commit is contained in:
parent
d14fb36cb9
commit
21e478dd59
|
|
@ -905,7 +905,7 @@ func TestGitCommandAmendHead(t *testing.T) {
|
|||
"Amend commit using gpg",
|
||||
func(cmd string, args ...string) *exec.Cmd {
|
||||
assert.EqualValues(t, "bash", cmd)
|
||||
assert.EqualValues(t, []string{"-c", "git commit --amend --no-edit --allow-empty"}, args)
|
||||
assert.EqualValues(t, []string{"-c", "git", "commit", "--amend", "--no-edit", "--allow-empty"}, args)
|
||||
|
||||
return exec.Command("echo")
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue