summaryrefslogtreecommitdiffstats
path: root/hugolib/site_sections_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugolib/site_sections_test.go')
-rw-r--r--hugolib/site_sections_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/hugolib/site_sections_test.go b/hugolib/site_sections_test.go
index 199947c31..d4aa9d354 100644
--- a/hugolib/site_sections_test.go
+++ b/hugolib/site_sections_test.go
@@ -25,7 +25,6 @@ import (
)
func TestNestedSections(t *testing.T) {
- t.Parallel()
var (
assert = require.New(t)
@@ -294,7 +293,9 @@ PAG|{{ .Title }}|{{ $sect.InSection . }}
home := s.getPage(page.KindHome)
for _, test := range tests {
+ test := test
t.Run(fmt.Sprintf("sections %s", test.sections), func(t *testing.T) {
+ t.Parallel()
assert := require.New(t)
sections := strings.Split(test.sections, ",")
p := s.getPage(page.KindSection, sections...)