Merge branch 'ma/t0450-use-test-path-is-file' into jch

A test script (t0450) has been updated to use the test_path_is_file
and test_path_is_missing helper functions, which provides better
diagnostic output on failure.

* ma/t0450-use-test-path-is-file:
  t0450: use test_path_is_file and test_path_is_missing
jch
Junio C Hamano 2026-10-12 09:25:57 -07:00
commit 321deca512
1 changed files with 2 additions and 2 deletions

View File

@ -116,13 +116,13 @@ do
if grep -q "^$builtin$" "$TEST_DIRECTORY"/t0450/adoc-missing
then
test_expect_success "$builtin appropriately marked as not having .adoc" '
! test -f "$adoc"
test_path_is_missing "$adoc"
'
else
test_set_prereq "$preq"

test_expect_success "$builtin appropriately marked as having .adoc" '
test -f "$adoc"
test_path_is_file "$adoc"
'
fi