mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
t.Parallel() called too many times, should be inside of parallelizable test func, see https://pkg.go.dev/testing#hdr-Subtests_and_Sub_benchmarks
parent
4e2054c8c7
commit
708eb8bf2d
@ -73,7 +73,6 @@ tests := map[string]struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for name, test := range tests {
|
for name, test := range tests {
|
||||||
t.Parallel()
|
|
||||||
test := test
|
test := test
|
||||||
t.Run(name, func(t *testing.T) {
|
t.Run(name, func(t *testing.T) {
|
||||||
t.Parallel()
|
t.Parallel()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user