commit 35bfb662229226d5f3cc3077ca74323f0aa88b7d
parent 6d21559fb55cda39c7b92bb61fd8e65a84465fe5
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date: Thu, 4 Mar 2021 13:46:31 +0100
Rename a test
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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