Skip to content

Commit 4775e02

Browse files
committed
Merge branch 'ma/t7004'
Test fix. * ma/t7004: t7004: check existence of correct tag
2 parents a6c6f8d + b018719 commit 4775e02

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

t/t7004-tag.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,10 +227,10 @@ test_expect_success \
227227
test_expect_success \
228228
'trying to delete two tags, existing and not, should fail in the 2nd' '
229229
tag_exists mytag &&
230-
! tag_exists myhead &&
231-
test_must_fail git tag -d mytag anothertag &&
230+
! tag_exists nonexistingtag &&
231+
test_must_fail git tag -d mytag nonexistingtag &&
232232
! tag_exists mytag &&
233-
! tag_exists myhead
233+
! tag_exists nonexistingtag
234234
'
235235

236236
test_expect_success 'trying to delete an already deleted tag should fail' \

0 commit comments

Comments
 (0)