summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Brandon Casey <casey@nrlssc.navy.mil>2008-03-25 19:20:52 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-03-26 14:26:52 -0700
commit525d461528880c3ef1d466017b4cbbb0093dd7a5 (patch)
tree2380b6b74be23febd52d3e38f9a7fc581287069c /t
parentFix the wrong output of `git-show v1.3.0~155^2~4` in documentation. (diff)
downloadtgif-525d461528880c3ef1d466017b4cbbb0093dd7a5.tar.xz
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-xt/t3800-mktag.sh4
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
'
}