diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-12-01 09:04:41 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-12-01 09:04:41 -0800 |
commit | 4775e02a5c18f0fa4380283554f06265b9405eb1 (patch) | |
tree | ece25bfe0c51005c2bb8306847053246b5302f9b | |
parent | Merge branch 'js/complete-svn-recursive' (diff) | |
parent | t7004: check existence of correct tag (diff) | |
download | tgif-4775e02a5c18f0fa4380283554f06265b9405eb1.tar.xz |
Merge branch 'ma/t7004'
Test fix.
* ma/t7004:
t7004: check existence of correct tag
-rwxr-xr-x | t/t7004-tag.sh | 6 |
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' \ |