Merge pull request #104816 from mkumatag/fix-rand

Update the valid string from rand.go
This commit is contained in:
Kubernetes Prow Robot
2021-09-07 19:29:19 -07:00
committed by GitHub

View File

@@ -28,7 +28,7 @@ const (
)
func TestString(t *testing.T) {
valid := "0123456789abcdefghijklmnopqrstuvwxyz"
valid := "bcdfghjklmnpqrstvwxz2456789"
for _, l := range []int{0, 1, 2, 10, 123} {
s := String(l)
if len(s) != l {