diff options
author | Jasper Mendiola <jasperduane77@gmail.com> | 2020-07-10 16:48:55 +0800 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-07-10 18:55:00 +1000 |
commit | e921ba0910c2431c26ffcbdf3847734e1283dded (patch) | |
tree | b614d89959d15a0d74afdbdfeb53413f0ce6ab0f /pkg | |
parent | 0f5a073d57d9efdf3e516f5dab913c2eed3fc8b3 (diff) |
Remove getLocalGitConfigv0.20.5
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/commands/git_test.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/pkg/commands/git_test.go b/pkg/commands/git_test.go index 8d56dee40..9b34ba364 100644 --- a/pkg/commands/git_test.go +++ b/pkg/commands/git_test.go @@ -1384,9 +1384,6 @@ func TestGitCommandCheckout(t *testing.T) { // TestGitCommandGetBranchGraph is a function. func TestGitCommandGetBranchGraph(t *testing.T) { gitCmd := NewDummyGitCommand() - gitCmd.getLocalGitConfig = func(string) (string, error) { - return "git log --graph --color=always --abbrev-commit --decorate --date=relative --pretty=medium {{branchName}} --", nil - } gitCmd.OSCommand.command = func(cmd string, args ...string) *exec.Cmd { assert.EqualValues(t, "git", cmd) assert.EqualValues(t, []string{"log", "--graph", "--color=always", "--abbrev-commit", "--decorate", "--date=relative", "--pretty=medium", "test", "--"}, args) |