summaryrefslogtreecommitdiff
path: root/versioncmp.c
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2014-03-20 19:19:50 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-03-21 14:28:05 -0700
commit0981140fcc2fe33c37da87802b95e01af2a94add (patch)
tree7df04b4dc657eae026ee1a3174b5afca1d727838 /versioncmp.c
parentt0001: use test_config_global (diff)
downloadtgif-0981140fcc2fe33c37da87802b95e01af2a94add.tar.xz
t0001: use test_must_fail
We've hand-rolled several "if" statements looking for failures. We can use test_must_fail here, which is shorter and more robust. Note that we modify the commands slightly (to use "git init foo" rather than "cd foo && git init") to avoid dealing with a subshell, but this should not affect the outcome. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'versioncmp.c')
0 files changed, 0 insertions, 0 deletions