diff options
author | Bjørn Erik Pedersen <[email protected]> | 2022-02-16 13:23:43 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2022-02-16 13:23:43 +0100 |
commit | f4c90bd6ba6e5bd6ef6671120cc9ef7f660ddb0b (patch) | |
tree | c977655b173cd6c61574d4a13fb65004f6a69ee3 /hugolib/cascade_test.go | |
parent | d16228334deeb80dac7827b90c16f2d39fcc0ac4 (diff) | |
download | hugo-f4c90bd6ba6e5bd6ef6671120cc9ef7f660ddb0b.tar.gz hugo-f4c90bd6ba6e5bd6ef6671120cc9ef7f660ddb0b.zip |
Fix BenchmarkCascadeTarget
Diffstat (limited to 'hugolib/cascade_test.go')
-rw-r--r-- | hugolib/cascade_test.go | 4 |
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) { |