diff options
author | Eric Sunshine <sunshine@sunshineco.com> | 2018-07-01 20:23:46 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-07-03 12:38:04 -0700 |
commit | fbd6ef273e1d1d88a4056b986bd8a331cc61ea39 (patch) | |
tree | 15bce853dc8e3355e5d4d19fb2776db6efa312a4 /t/t0025-crlf-renormalize.sh | |
parent | t/lib-submodule-update: fix "absorbing" test (diff) | |
download | tgif-fbd6ef273e1d1d88a4056b986bd8a331cc61ea39.tar.xz |
t5405: use test_must_fail() instead of checking exit code manually
This test expects "git push" to fail, thus it manually inverts that
local expected failure into a successful exit code for the test overall.
In doing so, it intentionally breaks the &&-chain. Modernize by
replacing manual exit code management with test_must_fail() and a normal
&&-chain.
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0025-crlf-renormalize.sh')
0 files changed, 0 insertions, 0 deletions