Use test_set_editor in t9001-send-email.sh
Signed-off-by: Bryan Donlan <bdonlan@fushizen.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
02b3566003
commit
7f0475c308
@ -144,10 +144,7 @@ test_expect_success 'setup fake editor' '
|
||||
chmod +x fake-editor
|
||||
'
|
||||
|
||||
FAKE_EDITOR="$(pwd)/fake-editor"
|
||||
export FAKE_EDITOR
|
||||
GIT_EDITOR='"$FAKE_EDITOR"'
|
||||
export GIT_EDITOR
|
||||
test_set_editor "$(pwd)/fake-editor"
|
||||
|
||||
test_expect_success '--compose works' '
|
||||
clean_fake_sendmail &&
|
||||
|
Loading…
Reference in New Issue
Block a user