]> git.ipfire.org Git - thirdparty/git.git/commit
t5530: modernize tests
authorPatrick Steinhardt <ps@pks.im>
Fri, 5 Sep 2025 06:18:01 +0000 (08:18 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 5 Sep 2025 21:35:53 +0000 (14:35 -0700)
commit7a57fb1a597eb2fa281c00cac94863ad0d7d7f6c
tree0a7e803c8e606e8582202192d9e623b211c0a96a
parent16bd9f20a403117f2e0d9bcda6c6e621d3763e77
t5530: modernize tests

Refactor tests to follow modern best practices:

  - Merge together tests that set up and verify a single use case.

  - Drop empty newlines at the beginning and end of test bodies.

  - Don't change directories in the main test body.

  - Remove an unused `D` variable.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5530-upload-pack-error.sh