Increase code coverage

This commit is contained in:
Andy Pan 2019-10-10 03:20:10 +08:00
parent 566511ec5f
commit 7724fc2c7b
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ func TestNewWorkerStack(t *testing.T) {
}
func TestWorkerStack(t *testing.T) {
q := newWorkerStack(0)
q := newWorkerArray(arrayType(-1), 0)
for i := 0; i < 5; i++ {
err := q.insert(&goWorker{recycleTime: time.Now()})