summaryrefslogtreecommitdiffstats
path: root/hugolib/page_permalink_test.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-12-19 15:40:47 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-12-19 20:17:33 +0100
commit0d4b17d4c03bfcbe3a5959e2c1dc47f4f36e47ed (patch)
treeb3c13b3f3c93c5f37fcd1938ae79327b05c797da /hugolib/page_permalink_test.go
parent3afaca75844272c309da44d1f4b3b95dc8ee2e6f (diff)
modules: Make the module.workspace=off as default (note)
Also, resolve any workspace file relative to the workingDir. Fixes #10553
Diffstat (limited to 'hugolib/page_permalink_test.go')
-rw-r--r--hugolib/page_permalink_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/hugolib/page_permalink_test.go b/hugolib/page_permalink_test.go
index 0939cc1ff..7ea672330 100644
--- a/hugolib/page_permalink_test.go
+++ b/hugolib/page_permalink_test.go
@@ -63,6 +63,7 @@ func TestPermalink(t *testing.T) {
}
for i, test := range tests {
+ i := i
test := test
t.Run(fmt.Sprintf("%s-%d", test.file, i), func(t *testing.T) {
t.Parallel()