summaryrefslogtreecommitdiffstats
path: root/hugolib/page_paths_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugolib/page_paths_test.go')
-rw-r--r--hugolib/page_paths_test.go10
1 files changed, 4 insertions, 6 deletions
diff --git a/hugolib/page_paths_test.go b/hugolib/page_paths_test.go
index 1270ce712..1d14b92fd 100644
--- a/hugolib/page_paths_test.go
+++ b/hugolib/page_paths_test.go
@@ -28,9 +28,9 @@ func TestPageTargetPath(t *testing.T) {
pathSpec := newTestDefaultPathSpec()
for _, langPrefix := range []string{"", "no"} {
- t.Run(fmt.Sprintf("langPrefix=%q", langPrefix), func(t *testing.T) {
- for _, uglyURLs := range []bool{false, true} {
- t.Run(fmt.Sprintf("uglyURLs=%t", uglyURLs), func(t *testing.T) {
+ for _, uglyURLs := range []bool{false, true} {
+ t.Run(fmt.Sprintf("langPrefix=%q,uglyURLs=%t", langPrefix, uglyURLs),
+ func(t *testing.T) {
tests := []struct {
name string
@@ -171,8 +171,6 @@ func TestPageTargetPath(t *testing.T) {
}
}
})
- }
- })
+ }
}
-
}