t.Parallel() called too many times, should be inside of parallelizable test func, see https://pkg.go.dev/testing#hdr-Subtests_and_Sub_benchmarks
@@ -73,7 +73,6 @@ tests := map[string]struct {
|
||||
}
|
||||
|
||||
for name, test := range tests {
|
||||
t.Parallel()
|
||||
test := test
|
||||
t.Run(name, func(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
Reference in New Issue
Block a user