Skip to content

Commit 81fed08

Browse files
update test results and skipped tests for TJSA 1.025
This ECMA 262 test returned false previously because it used a $ref to another document (unsupported); now it returns true because of different handling of regex dialects. However, the test really should live in optional/format - see json-schema-org/JSON-Schema-Test-Suite#740 (comment)
1 parent d935a26 commit 81fed08

8 files changed

+13
-11
lines changed

Diff for: Changes

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
Revision history for JSON-Schema-Tiny
22

33
{{$NEXT}}
4+
- update test results and exemptions for TJSA 1.025
45

56
0.024 2024-05-09 16:27:25Z
67
- update test results and exemptions for TJSA 1.024

Diff for: t/results/draft2019-09-acceptance.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
generated with: Test::JSON::Schema::Acceptance 1.024
2-
with commit: dd9599a5238abe76d13fab37857265a3be3a01ea (23.2.0-72-gdd9599a)
1+
generated with: Test::JSON::Schema::Acceptance 1.025
2+
with commit: 9fc880bfb6d8ccd093bc82431f17d13681ffae8e (23.2.0-117-g9fc880b)
33
from repository: git://github.com/json-schema-org/JSON-Schema-Test-Suite.git
44
specification version: draft2019-09
55
optional tests included: yes

Diff for: t/results/draft2019-09-additional-tests.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
generated with: Test::JSON::Schema::Acceptance 1.024
1+
generated with: Test::JSON::Schema::Acceptance 1.025
22
specification version: draft2019-09
33
using custom test directory: t/additional-tests-draft2019-09
44
optional tests included: no

Diff for: t/results/draft2020-12-acceptance.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
generated with: Test::JSON::Schema::Acceptance 1.024
2-
with commit: dd9599a5238abe76d13fab37857265a3be3a01ea (23.2.0-72-gdd9599a)
1+
generated with: Test::JSON::Schema::Acceptance 1.025
2+
with commit: 9fc880bfb6d8ccd093bc82431f17d13681ffae8e (23.2.0-117-g9fc880b)
33
from repository: git://github.com/json-schema-org/JSON-Schema-Test-Suite.git
44
specification version: draft2020-12
55
optional tests included: yes
@@ -58,7 +58,7 @@ optional/bignum.json 9 0 0
5858
optional/cross-draft.json 0 1 0
5959
optional/dependencies-compatibility.json 22 14 0
6060
optional/dynamicRef.json 1 1 0
61-
optional/ecmascript-regex.json 61 14 0
61+
optional/ecmascript-regex.json 60 15 0
6262
optional/float-overflow.json 1 0 0
6363
optional/format-assertion.json 2 2 0
6464
optional/id.json 1 2 0
@@ -67,4 +67,4 @@ optional/non-bmp-regex.json 12 0 0
6767
optional/refOfUnknownKeyword.json 6 0 0
6868
optional/unknownKeyword.json 2 1 0
6969
---------------------------------------------------------------
70-
TOTAL 1207 197 0
70+
TOTAL 1206 198 0

Diff for: t/results/draft2020-12-additional-tests.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
generated with: Test::JSON::Schema::Acceptance 1.024
1+
generated with: Test::JSON::Schema::Acceptance 1.025
22
specification version: draft2020-12
33
using custom test directory: t/additional-tests-draft2020-12
44
optional tests included: no

Diff for: t/results/draft7-acceptance.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
generated with: Test::JSON::Schema::Acceptance 1.024
2-
with commit: dd9599a5238abe76d13fab37857265a3be3a01ea (23.2.0-72-gdd9599a)
1+
generated with: Test::JSON::Schema::Acceptance 1.025
2+
with commit: 9fc880bfb6d8ccd093bc82431f17d13681ffae8e (23.2.0-117-g9fc880b)
33
from repository: git://github.com/json-schema-org/JSON-Schema-Test-Suite.git
44
specification version: draft7
55
optional tests included: yes

Diff for: t/results/draft7-additional-tests.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
generated with: Test::JSON::Schema::Acceptance 1.024
1+
generated with: Test::JSON::Schema::Acceptance 1.025
22
specification version: draft7
33
using custom test directory: t/additional-tests-draft7
44
optional tests included: no

Diff for: t/zzz-acceptance-draft2020-12.t

+1
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ acceptance_tests(
8484
# various edge cases that are difficult to accomodate
8585
{ 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' ] },
8686
{ file => 'optional/ecmascript-regex.json', group_description => '\d in pattern matches [0-9], not unicode digits', test_description => 'non-ascii digits (BENGALI DIGIT FOUR, BENGALI DIGIT TWO)' },
87+
{ file => 'optional/ecmascript-regex.json', group_description => '\a is not an ECMA 262 control escape', test_description => 'when used as a pattern' },
8788
{ file => 'optional/ecmascript-regex.json', group_description => '\w in patternProperties matches [A-Za-z0-9_], not unicode letters', test_description => [ 'literal unicode character in json string', 'unicode character in hex format in string' ] },
8889
{ file => 'optional/ecmascript-regex.json', group_description => '\d in patternProperties matches [0-9], not unicode digits', test_description => 'non-ascii digits (BENGALI DIGIT FOUR, BENGALI DIGIT TWO)' },
8990
{ file => 'optional/ecmascript-regex.json', group_description => [ 'ECMA 262 \d matches ascii digits only', 'ECMA 262 \D matches everything but ascii digits', 'ECMA 262 \w matches ascii letters only', 'ECMA 262 \W matches everything but ascii letters' ] }, # TODO, see test suite PR#505

0 commit comments

Comments
 (0)