t9001: use existing helper in send-email test
commitec3b4b06f88e612f02dc7b289b7540389326b6f9
authorChristian Ludwig <chrissicool@googlemail.com>
Fri, 12 Jan 2018 10:37:24 +0000 (12 11:37 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 12 Jan 2018 18:39:20 +0000 (12 10:39 -0800)
tree70ed9a67163e326ee41e17a3495151b95848c5a3
parent27dea4683b608c5c0487dee74cbda13b62803b73
t9001: use existing helper in send-email test

Use the wrapper function around the sed statement like everywhere
else in the test. Unfortunately the wrapper function is defined
pretty late.

Move the wrapper to the top of the test file, so future users have it
available right away.

Signed-off-by: Christian Ludwig <chrissicool@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9001-send-email.sh