summaryrefslogtreecommitdiff
path: root/t/t5516-fetch-push.sh
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2018-08-31 20:09:57 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-08-31 21:04:05 (GMT)
commitf08fb8dfea403497e2070cb9778ceafcf799a615 (patch)
tree807201b6b6290f5f3eccb33edbe56bacaa468b74 /t/t5516-fetch-push.sh
parent8cd4b7c14895a055de01962237d580173e5beca1 (diff)
downloadgit-f08fb8dfea403497e2070cb9778ceafcf799a615.zip
git-f08fb8dfea403497e2070cb9778ceafcf799a615.tar.gz
git-f08fb8dfea403497e2070cb9778ceafcf799a615.tar.bz2
push tests: make use of unused $1 in test description
Fix up a logic error in 380efb65df ("push tests: assert re-pushing annotated tags", 2018-07-31), where the $tag_type_description variable was assigned to but never used, unlike in the subsequently added companion test for fetches in 2d216a7ef6 ("fetch tests: add a test for clobbering tag behavior", 2018-04-29). Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5516-fetch-push.sh')
-rwxr-xr-xt/t5516-fetch-push.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5516-fetch-push.sh b/t/t5516-fetch-push.sh
index 1331a8d..84d846c 100755
--- a/t/t5516-fetch-push.sh
+++ b/t/t5516-fetch-push.sh
@@ -969,7 +969,7 @@ test_force_push_tag () {
tag_type_description=$1
tag_args=$2
- test_expect_success 'force pushing required to update lightweight tag' "
+ test_expect_success "force pushing required to update $tag_type_description" "
mk_test testrepo heads/master &&
mk_child testrepo child1 &&
mk_child testrepo child2 &&