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>
Bryan Donlan committed
May 4, 2008 at 01:37 UTC
7f0475c308625fb9e4cbbad8dc665983571cc5cf
1 file changed
+1
-4
t/t9001-send-email.sh
+1
-4
@@ -144,10 +144,7 @@ test_expect_success 'setup fake editor' '
144
chmod +x fake-editor
145
'
146
147
-FAKE_EDITOR="$(pwd)/fake-editor"
148
-export FAKE_EDITOR
149
-GIT_EDITOR='"$FAKE_EDITOR"'
150
-export GIT_EDITOR
147
+test_set_editor "$(pwd)/fake-editor"
148
149
test_expect_success '--compose works' '
150
clean_fake_sendmail &&