Skip to content

Commit

Permalink
Increase code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
panjf2000 committed Oct 9, 2019
1 parent 566511e commit 7724fc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worker_stack_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()})
Expand Down

0 comments on commit 7724fc2

Please sign in to comment.