We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8503911 commit 2bbbe87Copy full SHA for 2bbbe87
element_test.go
@@ -302,7 +302,7 @@ func TestElementIDs_Sort(t *testing.T) {
302
}
303
304
func BenchmarkElementID_Sort(b *testing.B) {
305
- rand.Seed(1024)
+ rand.New(rand.NewSource(1024))
306
307
tests := make([]ElementIDs, b.N)
308
for i := range tests {
feature_test.go
@@ -222,7 +222,7 @@ func TestFeatureIDs_Sort(t *testing.T) {
222
223
224
func BenchmarkFeatureIDs_Sort(b *testing.B) {
225
226
227
tests := make([]FeatureIDs, b.N)
228
0 commit comments