From: Bjørn Erik Pedersen Date: Wed, 16 Feb 2022 12:23:43 +0000 (+0100) Subject: Fix BenchmarkCascadeTarget X-Git-Tag: v0.93.0~55 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f4c90bd6ba6e5bd6ef6671120cc9ef7f660ddb0b;p=brevno-suite%2Fhugo Fix BenchmarkCascadeTarget --- diff --git a/hugolib/cascade_test.go b/hugolib/cascade_test.go index 836a00e2..b7ca4529 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) {