Skip to content

Commit c295358

Browse files
karenetheridgeJulian
authored andcommitted
squash: remove tests of $anchor and $ref
1 parent 9defa77 commit c295358

File tree

3 files changed

+0
-156
lines changed

3 files changed

+0
-156
lines changed

tests/draft4/future-keywords.json

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,4 @@
11
[
2-
{
3-
"description": "$anchor: location-independent identifier",
4-
"schema": {
5-
"allOf": [{
6-
"$ref": "#foo"
7-
}],
8-
"$defs": {
9-
"A": {
10-
"$anchor": "foo",
11-
"type": "integer"
12-
}
13-
}
14-
},
15-
"tests": [
16-
{
17-
"data": 1,
18-
"description": "cannot match: $ref is not found",
19-
"valid": false
20-
},
21-
{
22-
"data": "a",
23-
"description": "mismatch",
24-
"valid": false
25-
}
26-
]
27-
},
28-
{
29-
"description": "$id: Location-independent identifier",
30-
"schema": {
31-
"allOf": [{
32-
"$ref": "#foo"
33-
}],
34-
"$defs": {
35-
"A": {
36-
"$id": "#foo",
37-
"type": "integer"
38-
}
39-
}
40-
},
41-
"tests": [
42-
{
43-
"data": 1,
44-
"description": "match",
45-
"valid": true
46-
},
47-
{
48-
"data": "a",
49-
"description": "mismatch",
50-
"valid": false
51-
}
52-
]
53-
},
542
{
553
"description": "dependentSchemas: single dependency",
564
"schema": {

tests/draft6/future-keywords.json

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,4 @@
11
[
2-
{
3-
"description": "$anchor: location-independent identifier",
4-
"schema": {
5-
"allOf": [{
6-
"$ref": "#foo"
7-
}],
8-
"$defs": {
9-
"A": {
10-
"$anchor": "foo",
11-
"type": "integer"
12-
}
13-
}
14-
},
15-
"tests": [
16-
{
17-
"data": 1,
18-
"description": "cannot match: $ref is not found",
19-
"valid": false
20-
},
21-
{
22-
"data": "a",
23-
"description": "mismatch",
24-
"valid": false
25-
}
26-
]
27-
},
28-
{
29-
"description": "$id: Location-independent identifier",
30-
"schema": {
31-
"allOf": [{
32-
"$ref": "#foo"
33-
}],
34-
"$defs": {
35-
"A": {
36-
"$id": "#foo",
37-
"type": "integer"
38-
}
39-
}
40-
},
41-
"tests": [
42-
{
43-
"data": 1,
44-
"description": "match",
45-
"valid": true
46-
},
47-
{
48-
"data": "a",
49-
"description": "mismatch",
50-
"valid": false
51-
}
52-
]
53-
},
542
{
553
"description": "dependentSchemas: single dependency",
564
"schema": {

tests/draft7/future-keywords.json

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,4 @@
11
[
2-
{
3-
"description": "$anchor: location-independent identifier",
4-
"schema": {
5-
"allOf": [{
6-
"$ref": "#foo"
7-
}],
8-
"$defs": {
9-
"A": {
10-
"$anchor": "foo",
11-
"type": "integer"
12-
}
13-
}
14-
},
15-
"tests": [
16-
{
17-
"data": 1,
18-
"description": "cannot match: $ref is not found",
19-
"valid": false
20-
},
21-
{
22-
"data": "a",
23-
"description": "mismatch",
24-
"valid": false
25-
}
26-
]
27-
},
28-
{
29-
"description": "$id: Location-independent identifier",
30-
"schema": {
31-
"allOf": [{
32-
"$ref": "#foo"
33-
}],
34-
"$defs": {
35-
"A": {
36-
"$id": "#foo",
37-
"type": "integer"
38-
}
39-
}
40-
},
41-
"tests": [
42-
{
43-
"data": 1,
44-
"description": "match",
45-
"valid": true
46-
},
47-
{
48-
"data": "a",
49-
"description": "mismatch",
50-
"valid": false
51-
}
52-
]
53-
},
542
{
553
"description": "dependentSchemas: single dependency",
564
"schema": {

0 commit comments

Comments
 (0)