1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-15 00:15:32 +02:00

support GIT_EDITOR

This commit is contained in:
Jesse Duffield
2021-04-01 20:27:06 +11:00
parent e8e59306fc
commit eb54189683
2 changed files with 6 additions and 3 deletions

View File

@ -2013,7 +2013,7 @@ func TestEditFile(t *testing.T) {
return "", nil
},
func(cmd *exec.Cmd, err error) {
assert.EqualError(t, err, "No editor defined in $VISUAL, $EDITOR, or git config")
assert.EqualError(t, err, "No editor defined in $GIT_EDITOR, $VISUAL, $EDITOR, or git config")
},
},
{