1
0
mirror of https://github.com/golang/go synced 2024-11-11 22:20:22 -07:00

runtime: gofmt proc_test.go

Change-Id: I09a2be64e96fe85d84560728814af74b234d7210
GitHub-Last-Rev: bc881ea002
GitHub-Pull-Request: golang/go#45929
Reviewed-on: https://go-review.googlesource.com/c/go/+/316409
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
Run-TryBot: Emmanuel Odeke <emmanuel@orijtech.com>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Michael Pratt <mpratt@google.com>
This commit is contained in:
sivchari 2021-05-06 07:40:22 +00:00 committed by Ian Lance Taylor
parent b4ca1cec69
commit ba0f8ce50f

View File

@ -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()
}()
}