Merge pull request #104816 from mkumatag/fix-rand
Update the valid string from rand.go
This commit is contained in:
commit
f30f5a6862
@ -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