Skip to content

Commit

Permalink
t/t3800-mktag.sh: use test_must_fail rather than '!'
Browse files Browse the repository at this point in the history
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Brandon Casey authored and Junio C Hamano committed Mar 26, 2008
1 parent 71a5099 commit 525d461
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/t3800-mktag.sh
Original file line number Diff line number Diff line change
@@ -14,8 +14,8 @@ test_description='git-mktag: tag object verify test'
check_verify_failure () {
expect="$2"
test_expect_success "$1" '
( ! git-mktag <tag.sig 2>message ) &&
grep -q "$expect" message
( test_must_fail git-mktag <tag.sig 2>message ) &&
grep "$expect" message
'
}

0 comments on commit 525d461

Please sign in to comment.