-
-
Notifications
You must be signed in to change notification settings - Fork 272
Added new test suites in emaail validation of the format.json file of… #869
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why is this file being edited? |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why is this file being edited? |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -32,6 +32,31 @@ | |
| "description": "all string formats ignore nulls", | ||
| "data": null, | ||
| "valid": true | ||
| }, | ||
| { | ||
| "description": "User with double dot in email", | ||
| "data": "[email protected]", | ||
| "valid": false | ||
| }, | ||
| { | ||
| "description": "User uses a specific domain", | ||
| "data": "user@", | ||
| "valid": false | ||
| }, | ||
| { | ||
| "description": "Invalid email with space", | ||
| "data": "user [email protected]", | ||
| "valid": false | ||
| }, | ||
| { | ||
| "description": "Invalid email with no spec interpretation", | ||
| "data": "user@localhost", | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think this is invalid as per the RFC |
||
| "valid": false | ||
| }, | ||
| { | ||
| "description": "Invalid email with unwanted special symbols", | ||
| "data": "user//@example.com", | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this is valid as per the RFC too |
||
| "valid": false | ||
| } | ||
| ] | ||
| }, | ||
|
|
@@ -69,6 +94,7 @@ | |
| "data": null, | ||
| "valid": true | ||
| } | ||
|
|
||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unintended change? |
||
| ] | ||
| }, | ||
| { | ||
|
|
||
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.
Why is this file being edited?