From: Jeff King Date: Tue, 23 Jul 2024 20:54:14 GMT Subject: Re: [PATCH v2 1/6] t0080: move expected output to a file Message-ID: <20240723205414.GC6779@coredump.intra.peff.net> In-Reply-To: On Sun, Jul 21, 2024 at 08:15:48AM +0200, René Scharfe wrote: > Provide the expected output of "test-tool example-tap" verbatim instead > of as a here-doc, to avoid distractions due to quoting, variables > containing quotes and indentation. Just to bring our earlier conversation full circle, you can do now do this with: test_expect_success 'TAP output from unit tests' - <<\EOT cat >expect <<-\EOF ... EOF EOT since those patches are in master. But I'm OK if you don't want to bother with it. -Peff