-
Notifications
You must be signed in to change notification settings - Fork 95
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
Test unicode symbols #1186
Test unicode symbols #1186
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the tests seem fine but the generate
method changes needs refactoring
a86ceb9
to
381a624
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One thing. There is not guarantee that the generateRandomString
function actually return a string with non-ascii characters, when the unicode
parameter is set to true
. It is likely, but not guaranteed. Also, ascii characters are part of unicode, so perhaps the flag could have a better name.
Ok, I changed the name to |
Add new tests with unicode symbols.
Generated new strings for test emails using the allowed symbols for email.
Fixes #1191
Depends on core release:
realm/realm-core#6350
realm/realm-core#6336