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:
authorJunio C Hamano <gitster@pobox.com>2019-12-01 20:04:41 +0300
committerJunio C Hamano <gitster@pobox.com>2019-12-01 20:04:41 +0300
commit4775e02a5c18f0fa4380283554f06265b9405eb1 (patch)
treeece25bfe0c51005c2bb8306847053246b5302f9b /t/t7004-tag.sh
parenta6c6f8d02aff15d50ba63b31936453938defd571 (diff)
parentb018719927689edc7aaf27ba047b7482271f23f0 (diff)
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 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' \