From: Bjørn Erik Pedersen Date: Thu, 4 Mar 2021 12:46:31 +0000 (+0100) Subject: Rename a test X-Git-Tag: v0.82.0~20 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=35bfb662229226d5f3cc3077ca74323f0aa88b7d;p=brevno-suite%2Fhugo Rename a test --- diff --git a/hugolib/site_test.go b/hugolib/site_test.go index 282f8cd7..cd7ce51f 100644 --- a/hugolib/site_test.go +++ b/hugolib/site_test.go @@ -944,7 +944,7 @@ func TestRefLinking(t *testing.T) { // test empty link, as well as fragment only link {"", "", true, ""}, } { - t.Run(fmt.Sprint(i), func(t *testing.T) { + t.Run(fmt.Sprintf("t%dt", i), func(t *testing.T) { checkLinkCase(site, test.link, currentPage, test.relative, test.outputFormat, test.expected, t, i) // make sure fragment links are also handled