From f4c90bd6ba6e5bd6ef6671120cc9ef7f660ddb0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Wed, 16 Feb 2022 13:23:43 +0100 Subject: [PATCH] Fix BenchmarkCascadeTarget --- hugolib/cascade_test.go | 4 ++-- 1 file 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) {