summaryrefslogtreecommitdiff
path: root/t/t7004-tag.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-12-01 17:04:41 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-12-01 17:04:41 (GMT)
commit4775e02a5c18f0fa4380283554f06265b9405eb1 (patch)
treeece25bfe0c51005c2bb8306847053246b5302f9b /t/t7004-tag.sh
parenta6c6f8d02aff15d50ba63b31936453938defd571 (diff)
parentb018719927689edc7aaf27ba047b7482271f23f0 (diff)
downloadgit-4775e02a5c18f0fa4380283554f06265b9405eb1.zip
git-4775e02a5c18f0fa4380283554f06265b9405eb1.tar.gz
git-4775e02a5c18f0fa4380283554f06265b9405eb1.tar.bz2
Merge branch 'ma/t7004'
Test fix. * ma/t7004: t7004: check existence of correct tag
Diffstat (limited to 't/t7004-tag.sh')
-rwxr-xr-xt/t7004-tag.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/t7004-tag.sh b/t/t7004-tag.sh
index bc4da01..4a09bea 100755
--- a/t/t7004-tag.sh
+++ b/t/t7004-tag.sh
@@ -227,10 +227,10 @@ test_expect_success \
test_expect_success \
'trying to delete two tags, existing and not, should fail in the 2nd' '
tag_exists mytag &&
- ! tag_exists myhead &&
- test_must_fail git tag -d mytag anothertag &&
+ ! tag_exists nonexistingtag &&
+ test_must_fail git tag -d mytag nonexistingtag &&
! tag_exists mytag &&
- ! tag_exists myhead
+ ! tag_exists nonexistingtag
'
test_expect_success 'trying to delete an already deleted tag should fail' \