Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
colinhacks committed May 21, 2023
1 parent 4e67ef3 commit 7a5fd3f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion deno/lib/__tests__/string.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,16 @@ test("email validations", () => {
`[email protected]`,
`[email protected]`,
`[email protected]`,
`francois@@etu.inp-n7.fr`,
`[email protected]`,
];
const invalidEmails = [
// no "printable characters"
// `user%[email protected]`,
// `[email protected]`,
// `test/[email protected]`,

// double @
`francois@@etu.inp-n7.fr`,
// do not support quotes
`"email"@domain.com`,
`"e asdf sadf ?<>ail"@domain.com`,
Expand Down
4 changes: 3 additions & 1 deletion src/__tests__/string.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,16 @@ test("email validations", () => {
`[email protected]`,
`[email protected]`,
`[email protected]`,
`francois@@etu.inp-n7.fr`,
`[email protected]`,
];
const invalidEmails = [
// no "printable characters"
// `user%[email protected]`,
// `[email protected]`,
// `test/[email protected]`,

// double @
`francois@@etu.inp-n7.fr`,
// do not support quotes
`"email"@domain.com`,
`"e asdf sadf ?<>ail"@domain.com`,
Expand Down

0 comments on commit 7a5fd3f

Please sign in to comment.