mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 05:57:25 +00:00
Update the valid string from rand.go
This commit is contained in:
parent
f12d73304d
commit
117fb6a45b
@ -28,7 +28,7 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func TestString(t *testing.T) {
|
func TestString(t *testing.T) {
|
||||||
valid := "0123456789abcdefghijklmnopqrstuvwxyz"
|
valid := "bcdfghjklmnpqrstvwxz2456789"
|
||||||
for _, l := range []int{0, 1, 2, 10, 123} {
|
for _, l := range []int{0, 1, 2, 10, 123} {
|
||||||
s := String(l)
|
s := String(l)
|
||||||
if len(s) != l {
|
if len(s) != l {
|
||||||
|
Loading…
Reference in New Issue
Block a user