-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
59 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,8 +52,8 @@ describe('Validators', function () { | |
'hans.m端[email protected]', | ||
'hans@m端ller.com', | ||
'test|123@m端ller.com', | ||
'test[email protected]', | ||
'some.name.midd.leNa.me.[email protected]', | ||
'test123[email protected]', | ||
'[email protected]', | ||
'"foobar"@example.com', | ||
'" foo m端ller "@example.com', | ||
'"foo\\@bar"@example.com', | ||
|
@@ -73,6 +73,7 @@ describe('Validators', function () { | |
`${repeat('a', 64)}@${repeat('a', 251)}.com`, | ||
`${repeat('a', 65)}@${repeat('a', 250)}.com`, | ||
`${repeat('a', 64)}@${repeat('a', 64)}.com`, | ||
`${repeat('a', 31)}@gmail.com`, | ||
'[email protected] m', | ||
'[email protected] m', | ||
'[email protected] m', | ||
|
@@ -87,6 +88,8 @@ describe('Validators', function () { | |
'[email protected] m', | ||
'[email protected] m', | ||
'[email protected]', | ||
'[email protected]', | ||
'[email protected]', | ||
'[email protected]', | ||
'[email protected]', | ||
], | ||
|
@@ -104,8 +107,8 @@ describe('Validators', function () { | |
'[email protected]', | ||
'hans@m端ller.com', | ||
'test|123@m端ller.com', | ||
'test[email protected]', | ||
'some.name.midd.leNa.me.[email protected]', | ||
'test123[email protected]', | ||
'[email protected]', | ||
'"foobar"@example.com', | ||
'"foo\\@bar"@example.com', | ||
'" foo bar "@example.com', | ||
|
@@ -136,21 +139,21 @@ describe('Validators', function () { | |
'hans.m端[email protected]', | ||
'hans@m端ller.com', | ||
'test|123@m端ller.com', | ||
'test[email protected]', | ||
'some.name.midd.leNa.me.[email protected]', | ||
'test123[email protected]', | ||
'[email protected]', | ||
'Some Name <[email protected]>', | ||
'Some Name <[email protected]>', | ||
'Some Name <[email protected]>', | ||
'Some Name <[email protected]>', | ||
'Some Name <hans.m端[email protected]>', | ||
'Some Name <hans@m端ller.com>', | ||
'Some Name <test|123@m端ller.com>', | ||
'Some Name <test[email protected]>', | ||
'Some Name <test123[email protected]>', | ||
'\'Foo Bar, Esq\'<[email protected]>', | ||
'Some Name <some.name.midd.leNa.me.[email protected]>', | ||
'Some Middle Name <some.name.midd.leNa.me.[email protected]>', | ||
'Name <some.name.midd.leNa.me.[email protected]>', | ||
'Name<some.name.midd.leNa.me.[email protected]>', | ||
'Some Name <[email protected]>', | ||
'Some Middle Name <[email protected]>', | ||
'Name <[email protected]>', | ||
'Name<[email protected]>', | ||
], | ||
invalid: [ | ||
'invalidemail@', | ||
|
@@ -168,6 +171,7 @@ describe('Validators', function () { | |
'Some Name < [email protected] >', | ||
'Name [email protected]', | ||
'Some Name <[email protected]>', | ||
'Some Name <[email protected]>', | ||
], | ||
}); | ||
}); | ||
|
@@ -184,22 +188,22 @@ describe('Validators', function () { | |
'Some Name <hans.m端[email protected]>', | ||
'Some Name <hans@m端ller.com>', | ||
'Some Name <test|123@m端ller.com>', | ||
'Some Name <test[email protected]>', | ||
'Some Name <some.name.midd.leNa.me.[email protected]>', | ||
'Some Middle Name <some.name.midd.leNa.me.[email protected]>', | ||
'Name <some.name.midd.leNa.me.[email protected]>', | ||
'Name<some.name.midd.leNa.me.[email protected]>', | ||
'Some Name <test123[email protected]>', | ||
'Some Name <[email protected]>', | ||
'Some Middle Name <[email protected]>', | ||
'Name <[email protected]>', | ||
'Name<[email protected]>', | ||
], | ||
invalid: [ | ||
'some.name.midd.leNa.me.[email protected]', | ||
'[email protected]', | ||
'[email protected]', | ||
'[email protected]', | ||
'[email protected]', | ||
'[email protected]', | ||
'hans.m端[email protected]', | ||
'hans@m端ller.com', | ||
'test|123@m端ller.com', | ||
'test[email protected]', | ||
'test123[email protected]', | ||
'invalidemail@', | ||
'invalid.com', | ||
'@invalid.com', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.