Re: [PATCH v4 1/6] t0080: use here-doc test body
- From
Kyle Lippincott <spectral@google.com>
- Date
- Jul 31, 2024, 20:52 UTC
- Message-ID
- <CAO_smVgvUksJEk3Q3DJbB4-QbTD48o6pAONwH8Q5Hz-SVr8PjQ@mail.gmail.com>
- In-Reply-To
- <23498c37-1e30-45a9-92ae-d31a05778fca@web.de>
On Tue, Jul 30, 2024 at 7:06 AM René Scharfe <l.s.r@web.de> wrote:
Show 9 quoted lines
>
> Improve the readability of the expected output by using a here-doc for
> the test body and replacing the unwieldy ${SQ} references with literal
> single quotes.
>
> Signed-off-by: René Scharfe <l.s.r@web.de>
> ---
> t/t0080-unit-test-output.sh | 20 ++++++++++----------
> 1 file changed, 10 insertions(+), 10 deletions(-)I'm not an expert on git's style guide or testing infrastructure, but this looks like a good improvement to me. Thanks!