[PATCH 0/2] here-doc test bodies
- From
Jeff King <peff@peff.net>
- Date
- Jul 1, 2024, 22:08 UTC
- Message-ID
- <20240701220815.GA20293@coredump.intra.peff.net>
This is a re-post of an idea from 2021:
https://lore.kernel.org/git/YHDUg6ZR5vu93kGm@coredump.intra.peff.net/
that people seemed mostly positive on, and I just never got around to following up. Mostly because it's not life-changing, but I think it is a small quality of life improvement, and it came up again recently in:
https://lore.kernel.org/git/20240701032047.GA610406@coredump.intra.peff.net/
So I thought it was worth considering again.
[1/2]: test-lib: allow test snippets as here-docs [2/2]: t: convert some here-doc test bodies
t/README | 8 ++ t/t0600-reffiles-backend.sh | 38 +++---- t/t1404-update-ref-errors.sh | 196 +++++++++++++++++------------------ t/test-lib-functions.sh | 32 +++++- 4 files changed, 152 insertions(+), 122 deletions(-)
-Peff