Skip to content

Commit

Permalink
Use test_set_editor in t9001-send-email.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Bryan Donlan <bdonlan@fushizen.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Bryan Donlan authored and Junio C Hamano committed May 5, 2008
1 parent 02b3566 commit 7f0475c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions t/t9001-send-email.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down

0 comments on commit 7f0475c

Please sign in to comment.