Skip to content

Commit aac8a1b

Browse files
authored
chore: remove duplicate idn-email test and fix ambiguous test descriptions (#881)
1 parent 78048ea commit aac8a1b

17 files changed

Lines changed: 17 additions & 32 deletions

File tree

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

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,19 +42,14 @@
4242
"valid": true
4343
},
4444
{
45-
"description": "an invalid idn e-mail address",
45+
"description": "an invalid e-mail/idn e-mail address",
4646
"data": "2962",
4747
"valid": false
4848
},
4949
{
5050
"description": "a valid e-mail address",
5151
"data": "joe.bloggs@example.com",
5252
"valid": true
53-
},
54-
{
55-
"description": "an invalid e-mail address",
56-
"data": "2962",
57-
"valid": false
5853
}
5954
]
6055
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"valid": true
4343
},
4444
{
45-
"description": "an IPv6 address with out-of-range values",
45+
"description": "a group with 5 hex digits is invalid",
4646
"data": "12345::",
4747
"valid": false
4848
},

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"valid": true
6363
},
6464
{
65-
"description": "an invalid IRI based on IPv6",
65+
"description": "an IPv6 address without enclosing brackets is invalid",
6666
"data": "http://2001:0db8:85a3:0000:0000:8a2e:0370:7334",
6767
"valid": false
6868
},

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
"valid": true
7878
},
7979
{
80-
"description": "a valid URL ",
80+
"description": "a valid URL",
8181
"data": "ldap://[2001:db8::7]/c=GB?objectClass?one",
8282
"valid": true
8383
},

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

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,19 +42,14 @@
4242
"valid": true
4343
},
4444
{
45-
"description": "an invalid idn e-mail address",
45+
"description": "an invalid e-mail/idn e-mail address",
4646
"data": "2962",
4747
"valid": false
4848
},
4949
{
5050
"description": "a valid e-mail address",
5151
"data": "joe.bloggs@example.com",
5252
"valid": true
53-
},
54-
{
55-
"description": "an invalid e-mail address",
56-
"data": "2962",
57-
"valid": false
5853
}
5954
]
6055
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"valid": true
4343
},
4444
{
45-
"description": "an IPv6 address with out-of-range values",
45+
"description": "a group with 5 hex digits is invalid",
4646
"data": "12345::",
4747
"valid": false
4848
},

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"valid": true
6363
},
6464
{
65-
"description": "an invalid IRI based on IPv6",
65+
"description": "an IPv6 address without enclosing brackets is invalid",
6666
"data": "http://2001:0db8:85a3:0000:0000:8a2e:0370:7334",
6767
"valid": false
6868
},

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
"valid": true
7878
},
7979
{
80-
"description": "a valid URL ",
80+
"description": "a valid URL",
8181
"data": "ldap://[2001:db8::7]/c=GB?objectClass?one",
8282
"valid": true
8383
},

tests/draft3/optional/format/ipv6.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"valid": true
1010
},
1111
{
12-
"description": "an IPv6 address with out-of-range values",
12+
"description": "a group with 5 hex digits is invalid",
1313
"data": "12345::",
1414
"valid": false
1515
},

tests/draft4/optional/format/ipv6.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"valid": true
4040
},
4141
{
42-
"description": "an IPv6 address with out-of-range values",
42+
"description": "a group with 5 hex digits is invalid",
4343
"data": "12345::",
4444
"valid": false
4545
},

0 commit comments

Comments
 (0)