mirror of
https://github.com/panjf2000/ants.git
synced 2025-12-16 18:11:03 +00:00
🎲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…
x
Reference in New Issue
Block a user