File tree Expand file tree Collapse file tree 3 files changed +87
-0
lines changed Expand file tree Collapse file tree 3 files changed +87
-0
lines changed Original file line number Diff line number Diff line change 9696 "valid" : true
9797 }
9898 ]
99+ },
100+ {
101+ "description" : " items + contains" ,
102+ "schema" : {
103+ "items" : { "multipleOf" : 2 },
104+ "contains" : { "multipleOf" : 3 }
105+ },
106+ "tests" : [
107+ {
108+ "description" : " matches items, does not match contains" ,
109+ "data" : [ 2 , 4 , 8 ],
110+ "valid" : false
111+ },
112+ {
113+ "description" : " does not match items, matches contains" ,
114+ "data" : [ 3 , 6 , 9 ],
115+ "valid" : false
116+ },
117+ {
118+ "description" : " matches both items and contains" ,
119+ "data" : [ 6 , 12 ],
120+ "valid" : true
121+ },
122+ {
123+ "description" : " matches neither items nor contains" ,
124+ "data" : [ 1 , 5 ],
125+ "valid" : false
126+ }
127+ ]
99128 }
100129]
Original file line number Diff line number Diff line change 9696 "valid" : true
9797 }
9898 ]
99+ },
100+ {
101+ "description" : " items + contains" ,
102+ "schema" : {
103+ "items" : { "multipleOf" : 2 },
104+ "contains" : { "multipleOf" : 3 }
105+ },
106+ "tests" : [
107+ {
108+ "description" : " matches items, does not match contains" ,
109+ "data" : [ 2 , 4 , 8 ],
110+ "valid" : false
111+ },
112+ {
113+ "description" : " does not match items, matches contains" ,
114+ "data" : [ 3 , 6 , 9 ],
115+ "valid" : false
116+ },
117+ {
118+ "description" : " matches both items and contains" ,
119+ "data" : [ 6 , 12 ],
120+ "valid" : true
121+ },
122+ {
123+ "description" : " matches neither items nor contains" ,
124+ "data" : [ 1 , 5 ],
125+ "valid" : false
126+ }
127+ ]
99128 }
100129]
Original file line number Diff line number Diff line change 9696 "valid" : true
9797 }
9898 ]
99+ },
100+ {
101+ "description" : " items + contains" ,
102+ "schema" : {
103+ "items" : { "multipleOf" : 2 },
104+ "contains" : { "multipleOf" : 3 }
105+ },
106+ "tests" : [
107+ {
108+ "description" : " matches items, does not match contains" ,
109+ "data" : [ 2 , 4 , 8 ],
110+ "valid" : false
111+ },
112+ {
113+ "description" : " does not match items, matches contains" ,
114+ "data" : [ 3 , 6 , 9 ],
115+ "valid" : false
116+ },
117+ {
118+ "description" : " matches both items and contains" ,
119+ "data" : [ 6 , 12 ],
120+ "valid" : true
121+ },
122+ {
123+ "description" : " matches neither items nor contains" ,
124+ "data" : [ 1 , 5 ],
125+ "valid" : false
126+ }
127+ ]
99128 }
100129]
You can’t perform that action at this time.
0 commit comments