We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cccfd73 commit c461a17Copy full SHA for c461a17
pkg/ring/tokens_test.go
@@ -10,7 +10,7 @@ import (
10
)
11
12
func TestTokens_Serialization(t *testing.T) {
13
- tokens := make(Tokens, 512)
+ tokens := make(Tokens, 0, 512)
14
for i := 0; i < 512; i++ {
15
tokens = append(tokens, uint32(rand.Int31()))
16
}
0 commit comments