File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change 32
32
}
33
33
]
34
34
},
35
+ {
36
+ "description" : " dependencies with empty array" ,
37
+ "schema" : {
38
+ "dependencies" : {"bar" : []}
39
+ },
40
+ "tests" : [
41
+ {
42
+ "description" : " empty object" ,
43
+ "data" : {},
44
+ "valid" : true
45
+ },
46
+ {
47
+ "description" : " object with one property" ,
48
+ "data" : {"bar" : 2 },
49
+ "valid" : true
50
+ }
51
+ ]
52
+ },
35
53
{
36
54
"description" : " multiple dependencies" ,
37
55
"schema" : {
Original file line number Diff line number Diff line change 40
40
"valid" : true
41
41
}
42
42
]
43
+ },
44
+ {
45
+ "description" : " required with empty array" ,
46
+ "schema" : {
47
+ "properties" : {
48
+ "foo" : {}
49
+ },
50
+ "required" : []
51
+ },
52
+ "tests" : [
53
+ {
54
+ "description" : " property not required" ,
55
+ "data" : {},
56
+ "valid" : true
57
+ }
58
+ ]
43
59
}
44
60
]
You can’t perform that action at this time.
0 commit comments