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 a31e941 commit 2246f91Copy full SHA for 2246f91
internal/cmds/slot_test.go
@@ -18,8 +18,8 @@ func TestSlot(t *testing.T) {
18
}
19
})
20
t.Run("not use tag", func(t *testing.T) {
21
- for i := 0; i < 100; i++ {
22
- key1 := strconv.Itoa(rand.Int())
+ for i := 0; i < 1000; i++ {
+ key1 := strconv.Itoa(i)
23
key2 := fmt.Sprintf("%s{}", key1)
24
if slot(key1) == slot(key2) {
25
t.Fatalf("%v and %v should not be in the same slot", key1, key2)
0 commit comments