summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2019-12-01 09:04:41 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-12-01 09:04:41 -0800
commit4775e02a5c18f0fa4380283554f06265b9405eb1 (patch)
treeece25bfe0c51005c2bb8306847053246b5302f9b
parentMerge branch 'js/complete-svn-recursive' (diff)
parentt7004: check existence of correct tag (diff)
downloadtgif-4775e02a5c18f0fa4380283554f06265b9405eb1.tar.xz
Merge branch 'ma/t7004'
Test fix. * ma/t7004: t7004: check existence of correct tag
-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 bc4da011f7..4a09bea1d6 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' \