From 525d461528880c3ef1d466017b4cbbb0093dd7a5 Mon Sep 17 00:00:00 2001 From: Brandon Casey Date: Tue, 25 Mar 2008 19:20:52 -0500 Subject: t/t3800-mktag.sh: use test_must_fail rather than '!' Signed-off-by: Junio C Hamano --- t/t3800-mktag.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 't') diff --git a/t/t3800-mktag.sh b/t/t3800-mktag.sh index f2803206f1..bdc6e132ca 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 ' } -- cgit v1.2.3