Re: [PATCH 1/5] t4014: Add test checking cover-letter To header
- From
Calvin Wan <calvinwan@google.com>
- Date
- Feb 1, 2023, 23:52 UTC
- Message-ID
- <20230201235253.1891546-2-calvinwan@google.com>
- In-Reply-To
- <20230119223858.29262-2-zev@bewilderbeest.net>
Show 8 quoted lines
> +test_expect_success 'cover-letter gets To: header' ' > + rm -fr patches && > + git config --unset-all format.to && > + git format-patch -o patches --cover-letter --to "R E Cipient <rcipient@example.com>" main..side >list && > + grep "^To: R E Cipient <rcipient@example.com>\$" patches/0000-cover-letter.patch > +' > + > test_done
'>list' is unnecessary. The test can also be moved closer to other cover-letter or header tests.