diff options
author | Denton Liu <liu.denton@gmail.com> | 2020-04-20 04:54:43 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-04-20 13:12:13 -0700 |
commit | 5c65897d2b591f1d023a52c93c729c2b5a90a2df (patch) | |
tree | 078896874e412c92fb60c78e1c4adbcc76704cc7 /t/t4100/t-apply-3.patch | |
parent | t9141: use test_path_is_missing() (diff) | |
download | tgif-5c65897d2b591f1d023a52c93c729c2b5a90a2df.tar.xz |
t9160: use test_path_is_missing()
The test_must_fail() function should only be used for git commands since
we assume that external commands work sanely. Since, not only should
this file not exist, but there shouldn't exit _any_ filesystem entity in
these paths, replace `test_must_fail test -f` with
`test_path_is_missing`.
Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4100/t-apply-3.patch')
0 files changed, 0 insertions, 0 deletions