Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Casey <casey@nrlssc.navy.mil>2008-03-26 03:20:52 +0300
committerJunio C Hamano <gitster@pobox.com>2008-03-27 00:26:52 +0300
commit525d461528880c3ef1d466017b4cbbb0093dd7a5 (patch)
tree2380b6b74be23febd52d3e38f9a7fc581287069c /t/t3800-mktag.sh
parent71a5099b647267d509e43f2c41483ca79af49d9f (diff)
t/t3800-mktag.sh: use test_must_fail rather than '!'
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3800-mktag.sh')
-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
'
}