mirror of https://github.com/panjf2000/ants.git
🎲Add more test cases for new code
This commit is contained in:
parent
51c0008356
commit
9cfc9fa643
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue