From b9fb286d00c08cbc4d47ecc4279e60e4aa728487 Mon Sep 17 00:00:00 2001 From: Andy Pan Date: Tue, 22 Jan 2019 22:36:52 +0800 Subject: [PATCH] gofmt source code --- ants_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ants_test.go b/ants_test.go index 1ed174a..55b69ae 100644 --- a/ants_test.go +++ b/ants_test.go @@ -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 {