From 22adda78ccad6e86d0f578d08d4e572872252ff1 Mon Sep 17 00:00:00 2001 From: Karen Etheridge Date: Wed, 10 Jun 2020 14:11:53 -0700 Subject: [PATCH] also test the "email" inputs against "idn-email" --- tests/draft2019-09/optional/format/idn-email.json | 10 ++++++++++ tests/draft7/optional/format/idn-email.json | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/tests/draft2019-09/optional/format/idn-email.json b/tests/draft2019-09/optional/format/idn-email.json index 637409ea..552d1067 100644 --- a/tests/draft2019-09/optional/format/idn-email.json +++ b/tests/draft2019-09/optional/format/idn-email.json @@ -12,6 +12,16 @@ "description": "an invalid idn e-mail address", "data": "2962", "valid": false + }, + { + "description": "a valid e-mail address", + "data": "joe.bloggs@example.com", + "valid": true + }, + { + "description": "an invalid e-mail address", + "data": "2962", + "valid": false } ] } diff --git a/tests/draft7/optional/format/idn-email.json b/tests/draft7/optional/format/idn-email.json index 637409ea..552d1067 100644 --- a/tests/draft7/optional/format/idn-email.json +++ b/tests/draft7/optional/format/idn-email.json @@ -12,6 +12,16 @@ "description": "an invalid idn e-mail address", "data": "2962", "valid": false + }, + { + "description": "a valid e-mail address", + "data": "joe.bloggs@example.com", + "valid": true + }, + { + "description": "an invalid e-mail address", + "data": "2962", + "valid": false } ] }