summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRandshot <randshot@norealm.xyz>2020-05-30 23:10:30 +0200
committerJesse Duffield <jessedduffield@gmail.com>2020-07-12 14:06:53 +1000
commitd14fb36cb9e6293f87a0071a9ff4509ae23d3e16 (patch)
tree246896500cdf0fad54ac6c417b178bfc17794066
parent19a808642f1dee0ee9a19731023f48eff86a1985 (diff)
fix 'Commit using gpg' test
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 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")
},