summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff_initial..side
diff options
context:
space:
mode:
authorShlok Kulshreshtha <diy2903@gmail.com>2026-07-14 17:50:33 +0530
committerJunio C Hamano <gitster@pobox.com>2026-07-14 07:18:42 -0700
commit9719c290ee5926487caacc1ff059c043323ed183 (patch)
tree74533b338b567d09a988b1394783bbc3b1763360 /t/t4013/diff.diff_initial..side
parent678f3bb60dabece745b95f3a268813a7b17d6955 (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.diff_initial..side')
0 files changed, 0 insertions, 0 deletions