1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-01-10 04:07:18 +02:00

fix 'Commit using gpg' test

Signed-off-by: Randshot <randshot@norealm.xyz>
This commit is contained in:
Randshot 2020-05-30 23:10:30 +02:00 committed by Jesse Duffield
parent 19a808642f
commit d14fb36cb9

View File

@ -815,7 +815,7 @@ func TestGitCommandCommit(t *testing.T) {
"Commit using gpg",
func(cmd string, args ...string) *exec.Cmd {
assert.EqualValues(t, "bash", cmd)
assert.EqualValues(t, []string{"-c", `git commit -m 'test'`}, args)
assert.EqualValues(t, []string{"-c", "git", "commit", "-m", "test"}, args)
return exec.Command("echo")
},