mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-21 21:35:28 +02:00
all: Run modernize -fix ./...
This commit is contained in:
@@ -28,7 +28,7 @@ func TestSplitPages(t *testing.T) {
|
||||
chunks := splitPages(pages, 5)
|
||||
c.Assert(len(chunks), qt.Equals, 5)
|
||||
|
||||
for i := 0; i < 4; i++ {
|
||||
for i := range 4 {
|
||||
c.Assert(chunks[i].Len(), qt.Equals, 5)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user