summaryrefslogtreecommitdiff
path: root/t/t5406-remote-rejects.sh
diff options
context:
space:
mode:
authorLibravatar Eric Sunshine <sunshine@sunshineco.com>2018-07-01 20:23:46 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-07-03 12:38:04 -0700
commitfbd6ef273e1d1d88a4056b986bd8a331cc61ea39 (patch)
tree15bce853dc8e3355e5d4d19fb2776db6efa312a4 /t/t5406-remote-rejects.sh
parentt/lib-submodule-update: fix "absorbing" test (diff)
downloadtgif-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/t5406-remote-rejects.sh')
0 files changed, 0 insertions, 0 deletions