diff options
author | Randshot <randshot@norealm.xyz> | 2020-05-30 23:30:35 +0200 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-07-12 14:06:53 +1000 |
commit | 21e478dd5964f8727302c9d1d6d9e096aa65804a (patch) | |
tree | 9618c31f5afadeab2ce86f836a6e8443a83089ad /pkg | |
parent | d14fb36cb9e6293f87a0071a9ff4509ae23d3e16 (diff) |
fix 'Amend commit using gpg' test
Signed-off-by: Randshot <randshot@norealm.xyz>
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/commands/git_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
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") }, |