From 21e478dd5964f8727302c9d1d6d9e096aa65804a Mon Sep 17 00:00:00 2001 From: Randshot Date: Sat, 30 May 2020 23:30:35 +0200 Subject: [PATCH] fix 'Amend commit using gpg' test Signed-off-by: Randshot --- pkg/commands/git_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/commands/git_test.go b/pkg/commands/git_test.go index 58210c4a8..ed1fed013 100644 --- a/pkg/commands/git_test.go +++ b/pkg/commands/git_test.go @@ -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") },