Skip to content

Commit 413af57

Browse files
update todos to accomodate new/changed tests in TJSA 1.022
1 parent 272577f commit 413af57

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

t/zzz-acceptance-draft2019-09.t

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ acceptance_tests(
7070
'ref to else',
7171
'ref with absolute-path-reference',
7272
] },
73-
{ file => 'unknownKeyword.json', group_description => '$id inside an unknown keyword is not a real identifier', test_description => 'type matches second anyOf, which has a real schema in it' },
73+
{ file => ['unknownKeyword.json', 'optional/unknownKeyword.json'], group_description => '$id inside an unknown keyword is not a real identifier', test_description => 'type matches second anyOf, which has a real schema in it' },
74+
{ file => 'optional/anchor.json', '$anchor inside an enum is not a real identifier', 'exact match to enum, and type matches' },
75+
{ file => 'optional/id.json', '$id inside an enum is not a real identifier', 'exact match to enum, and type matches' },
7476
{ file => 'optional/cross-draft.json', group_description => [
7577
'refs to future drafts are processed as future drafts',
7678
'refs to historic drafts are processed as historic drafts' ] },

t/zzz-acceptance-draft2020-12.t

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ acceptance_tests(
7171
'ref to else',
7272
'ref with absolute-path-reference',
7373
] },
74-
{ file => 'unknownKeyword.json', group_description => '$id inside an unknown keyword is not a real identifier', test_description => 'type matches second anyOf, which has a real schema in it' },
74+
{ file => ['unknownKeyword.json', 'optional/unknownKeyword.json'], group_description => '$id inside an unknown keyword is not a real identifier', test_description => 'type matches second anyOf, which has a real schema in it' },
75+
{ file => 'optional/id.json', '$id inside an enum is not a real identifier', 'exact match to enum, and type matches' },
76+
{ file => 'optional/anchor.json', '$anchor inside an enum is not a real identifier', 'exact match to enum, and type matches' },
7577
{ file => 'optional/cross-draft.json', group_description => [
7678
'refs to future drafts are processed as future drafts',
7779
'refs to historic drafts are processed as historic drafts' ] },

t/zzz-acceptance-draft7.t

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ acceptance_tests(
6161
'ref to else',
6262
'ref with absolute-path-reference',
6363
] },
64-
{ file => 'unknownKeyword.json', group_description => '$id inside an unknown keyword is not a real identifier', test_description => 'type matches second anyOf, which has a real schema in it' },
64+
{ file => ['unknownKeyword.json', 'optional/unknownKeyword.json'], group_description => '$id inside an unknown keyword is not a real identifier', test_description => 'type matches second anyOf, which has a real schema in it' },
65+
{ file => 'optional/id.json', '$id inside an enum is not a real identifier', 'exact match to enum, and type matches' },
6566
{ file => 'optional/cross-draft.json', group_description => 'refs to future drafts are processed as future drafts' },
6667
# various edge cases that are difficult to accomodate
6768
{ file => 'optional/ecmascript-regex.json', group_description => '\w in patterns matches [A-Za-z0-9_], not unicode letters', test_description => [ 'literal unicode character in json string', 'unicode character in hex format in string' ] },

0 commit comments

Comments
 (0)