Fixed assert statements. (#16089)
This commit is contained in:
parent
51775f65bc
commit
3607f79d78
56 changed files with 227 additions and 228 deletions
|
@ -36,7 +36,7 @@ func TestChannelQueue(t *testing.T) {
|
|||
}, &testData{})
|
||||
assert.NoError(t, err)
|
||||
|
||||
assert.Equal(t, queue.(*ChannelQueue).WorkerPool.boostWorkers, 5)
|
||||
assert.Equal(t, 5, queue.(*ChannelQueue).WorkerPool.boostWorkers)
|
||||
|
||||
go queue.Run(nilFn, nilFn)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue