Skip to content

here-doc test bodies

Jeff King git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 19 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2test-lib: allow test snippets as here-docst/README t/test-lib-functions.sh+35 -519 replies
2/2t: convert some here-doc test bodiest/t0600-reffiles-backend.sh t/t1404-update-ref-errors.sh+117 -1170 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchEric Sunshine
SeriesA-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] here-doc test bodies

This is a re-post of an idea from 2021:

https://lore.kernel.org/git/[email protected]/

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/[email protected]/

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