From 96f821b84100a75852715d6e4975f3a62cad7fbb Mon Sep 17 00:00:00 2001 From: Randshot Date: Tue, 14 Jul 2020 22:01:30 +0200 Subject: fix TestGitCommandCommit test Signed-off-by: Randshot --- pkg/commands/git_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg') diff --git a/pkg/commands/git_test.go b/pkg/commands/git_test.go index d74f8b682..750e09dcd 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") }, -- cgit v1.2.3