diff --git a/ants_test.go b/ants_test.go index 015969e..31c9a9f 100644 --- a/ants_test.go +++ b/ants_test.go @@ -480,4 +480,8 @@ func TestRestCodeCoverage(t *testing.T) { ppremWithFunc.Tune(TestSize / 10) t.Logf("pre-malloc pool with func, after tuning capacity, capacity:%d, running:%d", ppremWithFunc.Cap(), ppremWithFunc.Running()) + + // Test for "goto" + p0.Submit(demoFunc) + p.Invoke(Param) }