Rename a test

This commit is contained in:
Bjørn Erik Pedersen 2021-03-04 13:46:31 +01:00
parent 6d21559fb5
commit 35bfb66222
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F

View file

@ -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