diff options
author | Denton Liu <liu.denton@gmail.com> | 2020-04-20 04:54:42 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-04-20 13:12:13 -0700 |
commit | 5935ae3ee9da3a49a98c42837d7846abea407e23 (patch) | |
tree | 1be5dcc03ba8993b4474de78138ee81da37c2671 /builtin/config.c | |
parent | t7508: don't use `test_must_fail test_cmp` (diff) | |
download | tgif-5935ae3ee9da3a49a98c42837d7846abea407e23.tar.xz |
t9141: 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
these directories not exist, but there shouldn't exist _any_ filesystem
entity in these paths, replace `test_must_fail test -d` 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 'builtin/config.c')
0 files changed, 0 insertions, 0 deletions