diff options
author | Jeff King <peff@peff.net> | 2014-03-20 19:19:50 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-03-21 14:28:05 -0700 |
commit | 0981140fcc2fe33c37da87802b95e01af2a94add (patch) | |
tree | 7df04b4dc657eae026ee1a3174b5afca1d727838 /connected.h | |
parent | t0001: use test_config_global (diff) | |
download | tgif-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 'connected.h')
0 files changed, 0 insertions, 0 deletions