mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-01-24 05:36:19 +02:00
fix 'Commit using gpg' test
Signed-off-by: Randshot <randshot@norealm.xyz>
This commit is contained in:
parent
19a808642f
commit
d14fb36cb9
@ -815,7 +815,7 @@ func TestGitCommandCommit(t *testing.T) {
|
|||||||
"Commit using gpg",
|
"Commit using gpg",
|
||||||
func(cmd string, args ...string) *exec.Cmd {
|
func(cmd string, args ...string) *exec.Cmd {
|
||||||
assert.EqualValues(t, "bash", 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")
|
return exec.Command("echo")
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user