File tree 1 file changed +10
-4
lines changed
1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 1
1
[
2
2
{
3
- "description" : " Single key object, does not map to operator" ,
3
+ "description" : " Single key object, does not map to operator. Should fail. " ,
4
4
"rule" : { "UnknownOperator" : true },
5
5
"data" : null ,
6
6
"error" : { "type" : " Unknown Operator" }
7
7
},
8
8
{
9
- "description" : " Multi-Key Object" ,
9
+ "description" : " Multi-Key Object, both keys are not operators. Should fail. " ,
10
10
"rule" : { "UnknownOperator" : true , "UnknownOperator2" : true },
11
11
"data" : null ,
12
12
"error" : { "type" : " Unknown Operator" }
13
13
},
14
14
{
15
- "description" : " Multi-Key Object 2 " ,
15
+ "description" : " Multi-Key Object, one key is a valid operator. Should fail. " ,
16
16
"rule" : { "+" : true , "UnknownOperator2" : true },
17
17
"data" : null ,
18
18
"error" : { "type" : " Unknown Operator" }
19
- }
19
+ },
20
+ {
21
+ "description" : " Multi-Key Object, both keys are valid operators. Should fail." ,
22
+ "rule" : { "+" : true , "-" : true },
23
+ "data" : null ,
24
+ "error" : { "type" : " Unknown Operator" }
25
+ }
20
26
]
You can’t perform that action at this time.
0 commit comments