diff options
author | Brandon Casey <casey@nrlssc.navy.mil> | 2008-03-26 03:20:52 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-03-27 00:26:52 +0300 |
commit | 525d461528880c3ef1d466017b4cbbb0093dd7a5 (patch) | |
tree | 2380b6b74be23febd52d3e38f9a7fc581287069c /t | |
parent | 71a5099b647267d509e43f2c41483ca79af49d9f (diff) |
t/t3800-mktag.sh: use test_must_fail rather than '!'
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rwxr-xr-x | t/t3800-mktag.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 <tag.sig 2>message ) && - grep -q "$expect" message + ( test_must_fail git-mktag <tag.sig 2>message ) && + grep "$expect" message ' } |