summaryrefslogtreecommitdiff
path: root/t/unit-tests
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2025-09-22 15:06:18 +0200
committerJunio C Hamano <gitster@pobox.com>2025-09-22 09:32:57 -0700
commitf1371a3c9511361d3aedf37f833981113a3b19d8 (patch)
tree6c989cc5e0ec7dc02ac2c953edb3e581e65df433 /t/unit-tests
parentf368df439b31b422169975cc3c95f7db6a46eada (diff)
t1300: write test expectations in the test's body
There are a bunch of tests in t1300 where we write the test expectation handed over to `test_cmp ()` outside of the test body. This does not match our modern test style, and there isn't really a reason why this would need to happen outside of the test bodies. Convert those to instead do so as part of the test itself. While at it, normalize these tests to use `<<\EOF` for those that don't use variable expansion and `<<-EOF` for those that aren't sensitive to indentation. Note that there are two exceptions that we leave as-is for now since they are reused across tests. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/unit-tests')
0 files changed, 0 insertions, 0 deletions