Skip to content

Commit dafa0e1

Browse files
some new idn-hostname tests in TJSA 1.028 do not pass
1 parent 7241968 commit dafa0e1

File tree

4 files changed

+26
-0
lines changed

4 files changed

+26
-0
lines changed

Changes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
Revision history for JSON-Schema-Modern
22

33
{{$NEXT}}
4+
- mark some failing format tests as todo that will be added in
5+
Test::JSON::Schema::Acceptance 1.028
46

57
0.603 2025-02-28 23:35:43Z
68
- fix Sereal serialization hooks

t/zzz-acceptance-draft2019-09-format.t

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,14 @@ acceptance_tests(
7979
test_description => 'an invalid IRI based on IPv6' },
8080
{ file => 'idn-hostname.json',
8181
group_description => 'validation of internationalized host names' }, # IDN decoder, Data::Validate::Domain both have issues
82+
{ file => 'idn-hostname.json',
83+
group_description => 'validation of separators in internationalized host names',
84+
test_description => [
85+
'dot as label separator',
86+
'ideographic full stop as label separator',
87+
'fullwidth full stop as label separator',
88+
'halfwidth ideographic full stop as label separator',
89+
] },
8290
{ file => 'uri.json',
8391
test_description => 'validation of URIs',
8492
test_description => 'an invalid URI with comma in scheme' }, # Mojo::URL does not fully validate

t/zzz-acceptance-draft2020-12-format.t

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,14 @@ acceptance_tests(
8080
test_description => 'an invalid IRI based on IPv6' },
8181
{ file => 'idn-hostname.json',
8282
group_description => 'validation of internationalized host names' }, # IDN decoder, Data::Validate::Domain both have issues
83+
{ file => 'idn-hostname.json',
84+
group_description => 'validation of separators in internationalized host names',
85+
test_description => [
86+
'dot as label separator',
87+
'ideographic full stop as label separator',
88+
'fullwidth full stop as label separator',
89+
'halfwidth ideographic full stop as label separator',
90+
] },
8391
{ file => 'uri.json',
8492
test_description => 'validation of URIs',
8593
test_description => 'an invalid URI with comma in scheme' }, # Mojo::URL does not fully validate

t/zzz-acceptance-draft7-format.t

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,14 @@ acceptance_tests(
7878
test_description => 'an invalid IRI based on IPv6' },
7979
{ file => 'idn-hostname.json',
8080
group_description => 'validation of internationalized host names' }, # IDN decoder, Data::Validate::Domain both have issues
81+
{ file => 'idn-hostname.json',
82+
group_description => 'validation of separators in internationalized host names',
83+
test_description => [
84+
'dot as label separator',
85+
'ideographic full stop as label separator',
86+
'fullwidth full stop as label separator',
87+
'halfwidth ideographic full stop as label separator',
88+
] },
8189
{ file => 'uri.json',
8290
test_description => 'validation of URIs',
8391
test_description => 'an invalid URI with comma in scheme' }, # Mojo::URL does not fully validate

0 commit comments

Comments
 (0)