Skip to content

Commit

Permalink
Fix BenchmarkCascadeTarget
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Feb 16, 2022
1 parent d162283 commit f4c90bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hugolib/cascade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit f4c90bd

Please sign in to comment.