Skip to content

Conversation

@YoghurtFree
Copy link

在slice/slice_test.go这个文件中,使用多个goroutine测试FilterConcurrent函数,在对返回的slice进行比较的时候,应该先进行排序,否则比较结果会出现概率性错误

…hen using multithreads,sort them before compare
@cannian1 cannian1 merged commit 3069acb into duke-git:rc Feb 9, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants