diff options
| author | HodaSalim <hoda.s.salim@gmail.com> | 2026-02-02 18:18:00 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-02-02 11:00:30 -0800 |
| commit | 68060b92629b29d9d669a91fd37da220175eaaea (patch) | |
| tree | 75129a8a68adc43b3bd69f2a2b4fb5266597baa8 /t/t4013/diff.format-patch_--inline_--stdout_initial..main^ | |
| parent | 67ad42147a7acc2af6074753ebd03d904476118f (diff) | |
| download | git-68060b92629b29d9d669a91fd37da220175eaaea.tar.gz git-68060b92629b29d9d669a91fd37da220175eaaea.zip | |
t9160:modernize test path checking
Replace old-style path checks with Git's dedicated test helpers:
- test -f → test_path_is_file
- test -d → test_path_is_dir
- test -s → test_file_not_empty
Fix typos with the word "subsequent"
Found using: git grep "test -[efd]" t/
This improves test readability and provides better error messages
when path checks fail.
Signed-off-by: HodaSalim <hoda.s.salim@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
