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:
Bryan Donlan 2008-05-04 01:37:55 -04:00 committed by Junio C Hamano
parent 02b3566003
commit 7f0475c308

View file

@ -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 &&