mirror of
https://github.com/panjf2000/ants.git
synced 2025-12-16 18:11:03 +00:00
gofmt source code
This commit is contained in:
parent
2ba69cd138
commit
b9fb286d00
@ -136,7 +136,7 @@ func TestPanicHandler(t *testing.T) {
|
||||
if p0.Running() != 0 {
|
||||
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)
|
||||
})
|
||||
if err != nil {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user