summaryrefslogtreecommitdiff
path: root/t/t9001-send-email.sh
diff options
context:
space:
mode:
authorBryan Donlan <bdonlan@fushizen.net>2008-05-04 01:37:55 -0400
committerJunio C Hamano <gitster@pobox.com>2008-05-05 14:17:01 -0700
commit7f0475c308625fb9e4cbbad8dc665983571cc5cf (patch)
treeccab1cdd149b25957a15c94be4031ef55ab6556d /t/t9001-send-email.sh
parent02b35660031e1da4036559fb928589ca8c3844bd (diff)
downloadgit-7f0475c308625fb9e4cbbad8dc665983571cc5cf.tar.gz
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>
Diffstat (limited to 't/t9001-send-email.sh')
-rwxr-xr-xt/t9001-send-email.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/t/t9001-send-email.sh b/t/t9001-send-email.sh
index 030f66cb7c..0a65785573 100755
--- a/t/t9001-send-email.sh
+++ b/t/t9001-send-email.sh
@@ -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 &&