]> git.ipfire.org Git - thirdparty/git.git/commit
t1410: use test helpers in reflog rewind test
authorPushkar Singh <pushkarkumarsingh1970@gmail.com>
Sun, 11 Jan 2026 19:07:52 +0000 (19:07 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 12 Jan 2026 04:55:05 +0000 (20:55 -0800)
commit220f888d7e2f3d8370a99992785fc0f005913540
treeda9ca083b2dc738de7d3a5e0e53fbd266e9dc800
parent9a2fb147f2c61d0cab52c883e7e26f5b7948e3ed
t1410: use test helpers in reflog rewind test

Replace raw `test -f` and `! test -f` checks in the rewind test with
`test_path_is_file` and `test_path_is_missing`. This provides clearer
failure diagnostics and keeps the test consistent with the rest of
the test suite.

Signed-off-by: Pushkar Singh <pushkarkumarsingh1970@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1410-reflog.sh