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_missingjch
commit
321deca512
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue