Skip to content

Commit 391483c

Browse files
committed
correct invalid email format test cases across multiple drafts
1 parent c44562d commit 391483c

7 files changed

Lines changed: 7 additions & 7 deletions

File tree

tests/draft2019-09/optional/format/email.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@
538538
},
539539
{
540540
"description": "non-IP content inside address literal brackets is not valid",
541-
"data": "test@[RFC-5322]-domain-literal]",
541+
"data": "test@[RFC-5322-domain-literal]",
542542
"valid": false
543543
},
544544
{

tests/draft2020-12/optional/format/email.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@
573573
},
574574
{
575575
"description": "non-IP content inside address literal brackets is not valid",
576-
"data": "test@[RFC-5322]-domain-literal]",
576+
"data": "test@[RFC-5322-domain-literal]",
577577
"valid": false
578578
},
579579
{

tests/draft3/optional/format/email.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@
490490
},
491491
{
492492
"description": "non-IP content inside address literal brackets is not valid",
493-
"data": "test@[RFC-5322]-domain-literal]",
493+
"data": "test@[RFC-5322-domain-literal]",
494494
"valid": false
495495
},
496496
{

tests/draft4/optional/format/email.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@
535535
},
536536
{
537537
"description": "non-IP content inside address literal brackets is not valid",
538-
"data": "test@[RFC-5322]-domain-literal]",
538+
"data": "test@[RFC-5322-domain-literal]",
539539
"valid": false
540540
},
541541
{

tests/draft6/optional/format/email.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@
535535
},
536536
{
537537
"description": "non-IP content inside address literal brackets is not valid",
538-
"data": "test@[RFC-5322]-domain-literal]",
538+
"data": "test@[RFC-5322-domain-literal]",
539539
"valid": false
540540
},
541541
{

tests/draft7/optional/format/email.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@
535535
},
536536
{
537537
"description": "non-IP content inside address literal brackets is not valid",
538-
"data": "test@[RFC-5322]-domain-literal]",
538+
"data": "test@[RFC-5322-domain-literal]",
539539
"valid": false
540540
},
541541
{

tests/v1/format/email.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@
573573
},
574574
{
575575
"description": "non-IP content inside address literal brackets is not valid",
576-
"data": "test@[RFC-5322]-domain-literal]",
576+
"data": "test@[RFC-5322-domain-literal]",
577577
"valid": false
578578
},
579579
{

0 commit comments

Comments
 (0)