Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hugolib/cascade_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/hugolib/cascade_test.go b/hugolib/cascade_test.go
index 836a00e2a..b7ca45290 100644
--- a/hugolib/cascade_test.go
+++ b/hugolib/cascade_test.go
@@ -63,11 +63,11 @@ kind = '{section,term}'
`
for i := 1; i < 100; i++ {
- files += "\n-- content/posts/p1.md --\n"
+ files += fmt.Sprintf("\n-- content/posts/p%d.md --\n", i+1)
}
for i := 1; i < 100; i++ {
- files += "\n-- content/posts/funny/pf1.md --\n"
+ files += fmt.Sprintf("\n-- content/posts/funny/pf%d.md --\n", i+1)
}
b.Run("Kind", func(b *testing.B) {