mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-05-22 09:37:48 +08:00
Use more specific test methods (#24265)
Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: Giteabot <teabot@gitea.io>
This commit is contained in:
@ -208,7 +208,7 @@ func TestPersistableChannelUniqueQueue(t *testing.T) {
|
||||
|
||||
mapLock.Lock()
|
||||
assert.Equal(t, 101, len(executedInitial[name])+len(executedEmpty[name]))
|
||||
assert.Equal(t, 0, len(hasEmpty[name]))
|
||||
assert.Empty(t, hasEmpty[name])
|
||||
mapLock.Unlock()
|
||||
})
|
||||
close(done)
|
||||
|
Reference in New Issue
Block a user