diff --git a/pool_test.go b/pool_test.go index 80a2898..0307a56 100644 --- a/pool_test.go +++ b/pool_test.go @@ -128,6 +128,6 @@ func TestPoolShutDown(t *testing.T) { // shutdown after shutdown pool.ShutDown() pool.ShutDown() - assert.Zero(panicCount) + assert.Equal(uint32(1), panicCount) assert.Equal(uint32(1), atomic.LoadUint32(&executed)) }