diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2018-08-31 22:09:57 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-08-31 23:04:05 +0200 |
commit | f08fb8dfea403497e2070cb9778ceafcf799a615 (patch) | |
tree | 807201b6b6290f5f3eccb33edbe56bacaa468b74 /t | |
parent | fetch: change "branch" to "reference" in --force -h output (diff) | |
download | git-f08fb8dfea403497e2070cb9778ceafcf799a615.tar.xz git-f08fb8dfea403497e2070cb9778ceafcf799a615.zip |
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')
-rwxr-xr-x | t/t5516-fetch-push.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 && |