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

FFaker::String.from_regexp(/[a-z]/) fails #199

Closed
rstacruz opened this issue May 4, 2015 · 0 comments · Fixed by #200
Closed

FFaker::String.from_regexp(/[a-z]/) fails #199

rstacruz opened this issue May 4, 2015 · 0 comments · Fixed by #200

Comments

@rstacruz
Copy link
Contributor

rstacruz commented May 4, 2015

> FFaker::String.from_regexp(/\d+abc/)
=> "21abc"

> FFaker::String.from_regexp(/\d+abc[a]/)
=> "89abca"

> FFaker::String.from_regexp(/[a-z]/)
TypeError: no implicit conversion of nil into String
from lib/ffaker/string.rb:25:in `from_regexp'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant