gofmt source code

This commit is contained in:
Andy Pan 2019-01-22 22:36:52 +08:00
parent 2ba69cd138
commit b9fb286d00
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ func TestPanicHandler(t *testing.T) {
if p0.Running() != 0 { if p0.Running() != 0 {
t.Errorf("pool should be empty after panic") t.Errorf("pool should be empty after panic")
} }
p1, err := ants.NewPoolWithFunc(10, func (p interface{}) { p1, err := ants.NewPoolWithFunc(10, func(p interface{}) {
panic(p) panic(p)
}) })
if err != nil { if err != nil {