summaryrefslogtreecommitdiffstats
path: root/hugolib/site_test.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2021-03-04 13:46:31 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2021-03-04 13:46:31 +0100
commit35bfb662229226d5f3cc3077ca74323f0aa88b7d (patch)
tree5140d368ed31810c2bdec13ca30b06478d6dafb0 /hugolib/site_test.go
parent6d21559fb55cda39c7b92bb61fd8e65a84465fe5 (diff)
Rename a test
Diffstat (limited to 'hugolib/site_test.go')
-rw-r--r--hugolib/site_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/site_test.go b/hugolib/site_test.go
index 282f8cd7d..cd7ce51f8 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