Browse Source

t/t3800-mktag.sh: use test_must_fail rather than '!'

Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Brandon Casey 17 years ago committed by Junio C Hamano
parent
commit
525d461528
  1. 4
      t/t3800-mktag.sh

4
t/t3800-mktag.sh

@ -14,8 +14,8 @@ test_description='git-mktag: tag object verify test' @@ -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
'
}


Loading…
Cancel
Save