From 0ada2bc44430096485c5b4fd761b95ef3ad16f4f Mon Sep 17 00:00:00 2001 From: Colin McDonnell Date: Sun, 21 May 2023 16:35:30 -0700 Subject: [PATCH] Update test --- deno/lib/__tests__/string.test.ts | 4 +++- src/__tests__/string.test.ts | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/deno/lib/__tests__/string.test.ts b/deno/lib/__tests__/string.test.ts index f2212532c..e067a1c81 100644 --- a/deno/lib/__tests__/string.test.ts +++ b/deno/lib/__tests__/string.test.ts @@ -65,7 +65,7 @@ test("email validations", () => { `work+user@mail.com`, `tom@test.te-st.com`, `something@subdomain.domain-with-hyphens.tld`, - `francois@@etu.inp-n7.fr`, + `francois@etu.inp-n7.fr`, ]; const invalidEmails = [ // no "printable characters" @@ -73,6 +73,8 @@ test("email validations", () => { // `mailhost!username@example.org`, // `test/test@test.com`, + // double @ + `francois@@etu.inp-n7.fr`, // do not support quotes `"email"@domain.com`, `"e asdf sadf ?<>ail"@domain.com`, diff --git a/src/__tests__/string.test.ts b/src/__tests__/string.test.ts index e302b0963..b84f080fc 100644 --- a/src/__tests__/string.test.ts +++ b/src/__tests__/string.test.ts @@ -64,7 +64,7 @@ test("email validations", () => { `work+user@mail.com`, `tom@test.te-st.com`, `something@subdomain.domain-with-hyphens.tld`, - `francois@@etu.inp-n7.fr`, + `francois@etu.inp-n7.fr`, ]; const invalidEmails = [ // no "printable characters" @@ -72,6 +72,8 @@ test("email validations", () => { // `mailhost!username@example.org`, // `test/test@test.com`, + // double @ + `francois@@etu.inp-n7.fr`, // do not support quotes `"email"@domain.com`, `"e asdf sadf ?<>ail"@domain.com`,