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>
Ævar Arnfjörð Bjarmason committed
Aug 31, 2018 at 20:09 UTC
f08fb8dfea403497e2070cb9778ceafcf799a615
1 file changed
+1
-1
t/t5516-fetch-push.sh
+1
-1
@@ -969,7 +969,7 @@ test_force_push_tag () {
969
tag_type_description=$1
970
tag_args=$2
971
972
- test_expect_success 'force pushing required to update lightweight tag' "
972
+ test_expect_success "force pushing required to update $tag_type_description" "
973
mk_test testrepo heads/master &&
974
mk_child testrepo child1 &&
975
mk_child testrepo child2 &&