package util
import "testing"
func TestAllowedCharMatchesUidPattern(t *testing.T) {
for _, c := range allowedChars {
if !IsValidShortUid(string(c)) {
t.Fatalf("charset for creating new shortids contains chars not present in uid pattern")
}