Skip to content

Commit 1f34d33

Browse files
Merge pull request #399 from json-schema-org/ether/more-format-idn-email
also test the "email" inputs against "idn-email"
2 parents 25598a3 + 22adda7 commit 1f34d33

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

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

+10
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,16 @@
1212
"description": "an invalid idn e-mail address",
1313
"data": "2962",
1414
"valid": false
15+
},
16+
{
17+
"description": "a valid e-mail address",
18+
"data": "[email protected]",
19+
"valid": true
20+
},
21+
{
22+
"description": "an invalid e-mail address",
23+
"data": "2962",
24+
"valid": false
1525
}
1626
]
1727
}

tests/draft7/optional/format/idn-email.json

+10
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,16 @@
1212
"description": "an invalid idn e-mail address",
1313
"data": "2962",
1414
"valid": false
15+
},
16+
{
17+
"description": "a valid e-mail address",
18+
"data": "[email protected]",
19+
"valid": true
20+
},
21+
{
22+
"description": "an invalid e-mail address",
23+
"data": "2962",
24+
"valid": false
1525
}
1626
]
1727
}

0 commit comments

Comments
 (0)