mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-18 21:11:19 +02:00
all: Run modernize -fix ./...
This commit is contained in:
@@ -196,7 +196,7 @@ func TestTocMisc(t *testing.T) {
|
||||
func BenchmarkToc(b *testing.B) {
|
||||
newTocs := func(n int) []*Fragments {
|
||||
var tocs []*Fragments
|
||||
for i := 0; i < n; i++ {
|
||||
for range n {
|
||||
tocs = append(tocs, newTestToc())
|
||||
}
|
||||
return tocs
|
||||
|
Reference in New Issue
Block a user