mirror of
https://github.com/duke-git/lancet.git
synced 2026-02-23 13:52:26 +08:00
fix: fix ExampleFindValuesBy
This commit is contained in:
@@ -842,6 +842,10 @@ func ExampleFindValuesBy() {
|
|||||||
return k%2 == 0
|
return k%2 == 0
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// github action will excute this test currently, so sort the result
|
||||||
|
// to make it deterministic
|
||||||
|
sort.Strings(result)
|
||||||
|
|
||||||
fmt.Println(result)
|
fmt.Println(result)
|
||||||
|
|
||||||
// Output:
|
// Output:
|
||||||
|
|||||||
Reference in New Issue
Block a user