summaryrefslogtreecommitdiffstats
path: root/t/t4013/diff.format-patch_--inline_--stdout_initial..main^
diff options
context:
space:
mode:
authorSiddharth Shrimali <r.siddharth.shrimali@gmail.com>2026-03-05 18:24:08 +0530
committerJunio C Hamano <gitster@pobox.com>2026-03-05 11:36:43 -0800
commit63c00a677b2b44e0691919b36a417cee648d890d (patch)
treed0a3c7917cfbbf3c89ad4806b2b6083710a929ab /t/t4013/diff.format-patch_--inline_--stdout_initial..main^
parent67ad42147a7acc2af6074753ebd03d904476118f (diff)
downloadgit-63c00a677b2b44e0691919b36a417cee648d890d.tar.gz
git-63c00a677b2b44e0691919b36a417cee648d890d.zip
t9123: use test_when_finished for cleanup
Move the setup logic into a 'test_expect_success' block. This ensures that the code is properly tracked by the test harness. Additionally, we use the 'test_when_finished' helper at the start of the block to ensure that the 'import' directory is removed even if the test fails. This is cleaner than the previous manual 'rm -rf import' approach. Signed-off-by: Siddharth Shrimali <r.siddharth.shrimali@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.format-patch_--inline_--stdout_initial..main^')
0 files changed, 0 insertions, 0 deletions