mirror of
https://github.com/go-gitea/gitea.git
synced 2024-05-11 05:55:29 +00:00
Fixed assert statements. (#16089)
This commit is contained in:
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user