mirror of
https://github.com/golang/go
synced 2024-11-23 07:10:05 -07:00
runtime: gofmt proc_test.go
This commit is contained in:
parent
d75fbac54d
commit
bc881ea002
@ -734,7 +734,7 @@ func BenchmarkCreateGoroutinesSingle(b *testing.B) {
|
|||||||
var wg sync.WaitGroup
|
var wg sync.WaitGroup
|
||||||
wg.Add(b.N)
|
wg.Add(b.N)
|
||||||
for i := 0; i < b.N; i++ {
|
for i := 0; i < b.N; i++ {
|
||||||
go func(){
|
go func() {
|
||||||
wg.Done()
|
wg.Done()
|
||||||
}()
|
}()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user