mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-26 05:30:54 +03:00
all: Run modernize -fix ./...
This commit is contained in:
parent
b7ae24b9c2
commit
521911a576
141 changed files with 302 additions and 354 deletions
|
@ -79,7 +79,7 @@ func TestInit(t *testing.T) {
|
|||
|
||||
// Add some concurrency and randomness to verify thread safety and
|
||||
// init order.
|
||||
for i := 0; i < 100; i++ {
|
||||
for i := range 100 {
|
||||
wg.Add(1)
|
||||
go func(i int) {
|
||||
defer wg.Done()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue