Skip to content

Commit 9a90118

Browse files
vmezzelagitster
authored andcommitted
t7301: use test_path_is_(missing|file)
Replace "test -f" and friends to use the test_path_is_file helper function and friends from test-lib-functions.sh. These functions perform identical operations while enhancing debugging capabilities in case of test failures. The original used 'test ! -f' to check if the file has been correctly cleaned, so 'test ! -e' would have been a better choice. Replace them with 'test_path_is_missing'. Signed-off-by: Vincenzo Mezzela <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent b387623 commit 9a90118

File tree

1 file changed

+245
-245
lines changed

1 file changed

+245
-245
lines changed

0 commit comments

Comments
 (0)