From d14fb36cb9e6293f87a0071a9ff4509ae23d3e16 Mon Sep 17 00:00:00 2001 From: Randshot Date: Sat, 30 May 2020 23:10:30 +0200 Subject: [PATCH] fix '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 9b34ba364..58210c4a8 100644 --- a/pkg/commands/git_test.go +++ b/pkg/commands/git_test.go @@ -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") },