Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alphanumerical characters contain "_" #17

Closed
JDFind opened this issue Jan 4, 2019 · 3 comments
Closed

Alphanumerical characters contain "_" #17

JDFind opened this issue Jan 4, 2019 · 3 comments
Labels

Comments

@JDFind
Copy link

JDFind commented Jan 4, 2019

ALPHA_NUM_UPPER and ALPHA_NUM_LOWER should not contain the _ character.
I see that they are used when generating a character with anAlphaNumericalChar method.

Also, is there an easier way to generate an alphanumerical String of fixed case and length?

@xgouchet xgouchet added the bug label Jan 4, 2019
@xgouchet
Copy link
Owner

xgouchet commented Jan 4, 2019

Indeed, this is a mistake. To generate a fixed size, case specific alphaNumerical string, you can use :

forger.aString(CharConstraint.ALPHA_NUM, Case.UPPER, 42)

@xgouchet
Copy link
Owner

xgouchet commented Jan 4, 2019

Fix is available in version 0.9.2

@JDFind
Copy link
Author

JDFind commented Jan 4, 2019

That was fast. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants