updated random_test

This commit is contained in:
Gani Georgiev
2022-12-12 19:19:31 +02:00
parent 55b439cb1c
commit 0eeae9de80
5 changed files with 469 additions and 292 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ func testRandomStringWithAlphabet(t *testing.T, randomFunc func(n int, alphabet
expectPattern string
}{
{"0123456789_", `[0-9_]+`},
{"abcdef", `[abcdef]+`},
{"abcdef123", `[abcdef123]+`},
{"!@#$%^&*()", `[\!\@\#\$\%\^\&\*\(\)]+`},
}