summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRandshot <randshot@norealm.xyz>2020-07-14 22:01:30 +0200
committerJesse Duffield <jessedduffield@gmail.com>2020-07-15 09:41:16 +1000
commit96f821b84100a75852715d6e4975f3a62cad7fbb (patch)
treeee7b967235965ffef8f697a0e7cb042af70d2235
parent964e3872c13308ecbd4748448c5d4fbd809ccd46 (diff)
fix TestGitCommandCommit testv0.20.9
Signed-off-by: Randshot <randshot@norealm.xyz>
-rw-r--r--pkg/commands/git_test.go2
1 files changed, 1 insertions, 1 deletions
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")
},