mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
1
This commit is contained in:
parent
32d99595fb
commit
8c30bde86e
@ -75,9 +75,9 @@ func TestCompleteAny(t *testing.T) {
|
||||
DeleteAt(&list, -1)
|
||||
DeleteAt(&ids, -1)
|
||||
|
||||
ok := CompleteAny(ids, list, func(t Item) int {
|
||||
ok := Complete(ids, Slice(list, func(t Item) int {
|
||||
return t.ID
|
||||
})
|
||||
}))
|
||||
|
||||
fmt.Printf("%+v\n", ok)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user