Merge branch 'ma/t7004'

Test fix.

* ma/t7004:
  t7004: check existence of correct tag
This commit is contained in:
Junio C Hamano
2019-12-01 09:04:41 -08:00

View File

@ -227,10 +227,10 @@ test_expect_success \
test_expect_success \ test_expect_success \
'trying to delete two tags, existing and not, should fail in the 2nd' ' 'trying to delete two tags, existing and not, should fail in the 2nd' '
tag_exists mytag && tag_exists mytag &&
! tag_exists myhead && ! tag_exists nonexistingtag &&
test_must_fail git tag -d mytag anothertag && test_must_fail git tag -d mytag nonexistingtag &&
! tag_exists mytag && ! tag_exists mytag &&
! tag_exists myhead ! tag_exists nonexistingtag
' '
test_expect_success 'trying to delete an already deleted tag should fail' \ test_expect_success 'trying to delete an already deleted tag should fail' \