diff options
author | Denton Liu <liu.denton@gmail.com> | 2019-12-20 19:15:53 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-12-20 20:30:44 +0100 |
commit | f6041abdcd7bfefed1cbe14cbe221f0e848cbec4 (patch) | |
tree | f951dab8c1cac2085c9c483170368bdd5ed2d312 /t/t1409-avoid-packing-refs.sh | |
parent | t0003: don't use `test_must_fail attr_check` (diff) | |
download | git-f6041abdcd7bfefed1cbe14cbe221f0e848cbec4.tar.xz git-f6041abdcd7bfefed1cbe14cbe221f0e848cbec4.zip |
t0020: don't use `test_must_fail has_cr`
The test_must_fail function should only be used for git commands since
we should assume that external commands work sanely. Since has_cr() just
wraps a tr and grep pipeline, replace `test_must_fail has_cr` with
`! has_cr`.
Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1409-avoid-packing-refs.sh')
0 files changed, 0 insertions, 0 deletions