diff --git a/src/runtime/proc_test.go b/src/runtime/proc_test.go index 01152dff76..53cafe8907 100644 --- a/src/runtime/proc_test.go +++ b/src/runtime/proc_test.go @@ -734,7 +734,7 @@ func BenchmarkCreateGoroutinesSingle(b *testing.B) { var wg sync.WaitGroup wg.Add(b.N) for i := 0; i < b.N; i++ { - go func(){ + go func() { wg.Done() }() }