From: Brandon Casey Date: Wed, 26 Mar 2008 00:20:52 +0000 (-0500) Subject: t/t3800-mktag.sh: use test_must_fail rather than '!' X-Git-Tag: v1.5.4.5~4 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=525d461528880c3ef1d466017b4cbbb0093dd7a5;p=git.git t/t3800-mktag.sh: use test_must_fail rather than '!' Signed-off-by: Junio C Hamano --- diff --git a/t/t3800-mktag.sh b/t/t3800-mktag.sh index f2803206f..bdc6e132c 100755 --- a/t/t3800-mktag.sh +++ b/t/t3800-mktag.sh @@ -14,8 +14,8 @@ test_description='git-mktag: tag object verify test' check_verify_failure () { expect="$2" test_expect_success "$1" ' - ( ! git-mktag message ) && - grep -q "$expect" message + ( test_must_fail git-mktag message ) && + grep "$expect" message ' }