File tree Expand file tree Collapse file tree 4 files changed +64
-0
lines changed Expand file tree Collapse file tree 4 files changed +64
-0
lines changed Original file line number Diff line number Diff line change 34
34
"valid" : true
35
35
}
36
36
]
37
+ },
38
+ {
39
+ "description" : " maxProperties = 0 means the object is empty" ,
40
+ "schema" : { "maxProperties" : 0 },
41
+ "tests" : [
42
+ {
43
+ "description" : " no properties is valid" ,
44
+ "data" : {},
45
+ "valid" : true
46
+ },
47
+ {
48
+ "description" : " one property is invalid" ,
49
+ "data" : { "foo" : 1 },
50
+ "valid" : false
51
+ }
52
+ ]
37
53
}
38
54
]
Original file line number Diff line number Diff line change 34
34
"valid" : true
35
35
}
36
36
]
37
+ },
38
+ {
39
+ "description" : " maxProperties = 0 means the object is empty" ,
40
+ "schema" : { "maxProperties" : 0 },
41
+ "tests" : [
42
+ {
43
+ "description" : " no properties is valid" ,
44
+ "data" : {},
45
+ "valid" : true
46
+ },
47
+ {
48
+ "description" : " one property is invalid" ,
49
+ "data" : { "foo" : 1 },
50
+ "valid" : false
51
+ }
52
+ ]
37
53
}
38
54
]
Original file line number Diff line number Diff line change 34
34
"valid" : true
35
35
}
36
36
]
37
+ },
38
+ {
39
+ "description" : " maxProperties = 0 means the object is empty" ,
40
+ "schema" : { "maxProperties" : 0 },
41
+ "tests" : [
42
+ {
43
+ "description" : " no properties is valid" ,
44
+ "data" : {},
45
+ "valid" : true
46
+ },
47
+ {
48
+ "description" : " one property is invalid" ,
49
+ "data" : { "foo" : 1 },
50
+ "valid" : false
51
+ }
52
+ ]
37
53
}
38
54
]
Original file line number Diff line number Diff line change 34
34
"valid" : true
35
35
}
36
36
]
37
+ },
38
+ {
39
+ "description" : " maxProperties = 0 means the object is empty" ,
40
+ "schema" : { "maxProperties" : 0 },
41
+ "tests" : [
42
+ {
43
+ "description" : " no properties is valid" ,
44
+ "data" : {},
45
+ "valid" : true
46
+ },
47
+ {
48
+ "description" : " one property is invalid" ,
49
+ "data" : { "foo" : 1 },
50
+ "valid" : false
51
+ }
52
+ ]
37
53
}
38
54
]
You can’t perform that action at this time.
0 commit comments