From 9cfc9fa643df4735b5f220115579d2c30da3bbed Mon Sep 17 00:00:00 2001 From: Andy Pan Date: Sat, 27 Jul 2019 12:05:55 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=B2Add=20more=20test=20cases=20for=20n?= =?UTF-8?q?ew=20code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ants_test.go | 4 ++++ 1 file changed, 4 insertions(+) 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) }