diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-06 18:00:47 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-06 19:34:32 +1000 |
commit | 20bdba15f6298040fd426a5071b336b87866cc53 (patch) | |
tree | ec0df2ab77874ce3c2ab07d78e3a84f760cf5245 /pkg | |
parent | e63685705753177d0401a31be96873bd4b1bb177 (diff) |
amend reword test
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 5f24eacf3..afefb921c 100644 --- a/pkg/commands/git_test.go +++ b/pkg/commands/git_test.go @@ -487,7 +487,7 @@ func TestGitCommandRenameCommit(t *testing.T) { gitCmd := NewDummyGitCommand() gitCmd.OSCommand.Command = func(cmd string, args ...string) *exec.Cmd { assert.EqualValues(t, "git", cmd) - assert.EqualValues(t, []string{"commit", "--allow-empty", "--amend", "-m", "test"}, args) + assert.EqualValues(t, []string{"commit", "--allow-empty", "--amend", "--only", "-m", "test"}, args) return secureexec.Command("echo") } |