diff options
| author | Shlok Kulshreshtha <diy2903@gmail.com> | 2026-07-14 17:50:33 +0530 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-07-14 07:18:42 -0700 |
| commit | 9719c290ee5926487caacc1ff059c043323ed183 (patch) | |
| tree | 74533b338b567d09a988b1394783bbc3b1763360 /t/t4013/diff.format-patch_--inline_--stdout_initial..master | |
| parent | 678f3bb60dabece745b95f3a268813a7b17d6955 (diff) | |
t1100: move creation of expected output into setup test
The "expected" file is created at the top-level of the script, outside
of any test. Code that runs outside of a test is not protected by the
test harness: a failure there is not reported as a test failure and is
easy to miss.
Move the here-doc that creates "expected" into the existing setup test
("test preparation: write empty tree"), using a "<<-" here-doc so its
body can be indented along with the rest of the test.
Signed-off-by: Shlok Kulshreshtha <diy2903@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.format-patch_--inline_--stdout_initial..master')
0 files changed, 0 insertions, 0 deletions
