]> git.ipfire.org Git - thirdparty/git.git/commit
t7005: use modern test style
authorD. Ben Knoble <ben.knoble+github@gmail.com>
Wed, 13 Aug 2025 17:50:03 +0000 (13:50 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 13 Aug 2025 18:49:59 +0000 (11:49 -0700)
commit83d64df8d574a7cdfa96fa7a18194373b223fafe
treeca1a0b400fc81b60672ddb505c5a992c96557bd1
parent8d2709d075d65ba386a4dac157129ef868c283e5
t7005: use modern test style

Tests in t7005 mask Git error codes and do not use our nice test
helpers. Improve that, move some code into the setup test, and drop a
few old-style blank lines while at it.

Best-viewed-with: --ignore-all-space
Signed-off-by: D. Ben Knoble <ben.knoble+github@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7005-editor.sh