From: Ævar Arnfjörð Bjarmason Date: Fri, 31 Aug 2018 20:09:57 +0000 (+0000) Subject: push tests: make use of unused $1 in test description X-Git-Tag: v2.20.0-rc0~229^2~7 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/f08fb8dfea403497e2070cb9778ceafcf799a615?ds=inline;hp=--cc 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 Signed-off-by: Junio C Hamano --- f08fb8dfea403497e2070cb9778ceafcf799a615 diff --git a/t/t5516-fetch-push.sh b/t/t5516-fetch-push.sh index 1331a8de08..84d846ca7a 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 &&