diff options
Diffstat (limited to 'pkg/commands/git_test.go')
-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 99ab351fa..8070d9610 100644 --- a/pkg/commands/git_test.go +++ b/pkg/commands/git_test.go @@ -1907,7 +1907,7 @@ func TestGitCommandGetCommitFiles(t *testing.T) { "123456", test.CreateMockCommand(t, []*test.CommandSwapper{ { - Expect: "git show --pretty= --name-only --no-renames 123456", + Expect: "git diff-tree --no-commit-id --name-only -r --no-renames 123456", Replace: "echo 'hello\nworld'", }, }), |