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/t9167-git-svn-cmd-branch-subproject.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/t9167-git-svn-cmd-branch-subproject.sh')
0 files changed, 0 insertions, 0 deletions