@@ -18,26 +18,31 @@ queries:
18
18
document : ["first", "second", "third"]
19
19
result : " second"
20
20
status : fail
21
+ consensus : ["second", "third"]
21
22
- id : array_index_slice_only_end
22
23
selector : $[:2]
23
24
document : ["first", "second", "third", "forth", "fifth"]
24
25
result : " third"
25
26
status : fail
27
+ consensus : ["first", "second"]
26
28
- id : array_index_slice_only_start
27
29
selector : $[1:]
28
30
document : ["first", "second", "third", "forth", "fifth"]
29
31
result : " second"
30
32
status : fail
33
+ consensus : ["second", "third", "forth", "fifth"]
31
34
- id : array_index_slice_start_end
32
35
selector : $[1:3]
33
36
document : ["first", "second", "third", "forth", "fifth"]
34
37
result : " second"
35
38
status : fail
39
+ consensus : ["second", "third"]
36
40
- id : array_index_slice_start_end_step
37
41
selector : $[0:3:2]
38
42
document : ["first", "second", "third", "forth", "fifth"]
39
43
result : " first"
40
44
status : fail
45
+ consensus : ["first", "third"]
41
46
- id : array_index_slice_start_end_step_0
42
47
selector : $[0:3:0]
43
48
document : ["first", "second", "third", "forth", "fifth"]
@@ -48,11 +53,13 @@ queries:
48
53
document : ["first", "second", "third", "forth", "fifth"]
49
54
result : " first"
50
55
status : fail
56
+ consensus : ["first", "second", "third"]
51
57
- id : array_index_slice_start_end_step_non_aligned
52
58
selector : $[0:4:2]
53
59
document : ["first", "second", "third", "forth", "fifth"]
54
60
result : " first"
55
61
status : fail
62
+ consensus : ["first", "third"]
56
63
- id : array_index_slice_start_equals_end
57
64
selector : $[0:0]
58
65
document : ["first", "second"]
@@ -63,16 +70,19 @@ queries:
63
70
document : ["first", "second"]
64
71
result : " first"
65
72
status : fail
73
+ consensus : ["first"]
66
74
- id : array_index_union
67
75
selector : $[0,1]
68
76
document : ["first", "second", "third"]
69
77
result : " first"
70
78
status : fail
79
+ consensus : ["first", "second"]
71
80
- id : key_bracket_notation_with_star_literal
72
81
selector : $['*']
73
82
document : {"*": "value"}
74
83
result : ["value"]
75
84
status : fail
85
+ consensus : " value"
76
86
- id : key_dot_notation
77
87
selector : $.key
78
88
document : {"key": "value"}
@@ -123,6 +133,7 @@ queries:
123
133
document : ["string", 42, {"key": "value"}, [0, 1]]
124
134
result : ["string", 42, {"key": "value"}, 0, 1]
125
135
status : fail
136
+ consensus : ["string", 42, {"key": "value"}, [0, 1]]
126
137
- id : wildcard_bracket_notation_on_null_value_array
127
138
selector : $[*]
128
139
document : [40, null, 42]
@@ -133,13 +144,16 @@ queries:
133
144
document : {"some": "string", "int": 42, "object": {"key": "value"}, "array": [0, 1]}
134
145
result : ["string", 42, {"key": "value"}, 0, 1]
135
146
status : fail
147
+ consensus : ["string", 42, {"key": "value"}, [0, 1]]
136
148
- id : wildcard_dot_notation_on_array
137
149
selector : $.*
138
150
document : ["string", 42, {"key": "value"}, [0, 1]]
139
151
result : ["string", 42, {"key": "value"}, 0, 1]
140
152
status : fail
153
+ consensus : ["string", 42, {"key": "value"}, [0, 1]]
141
154
- id : wildcard_dot_notation_on_object
142
155
selector : $.*
143
156
document : {"some": "string", "int": 42, "object": {"key": "value"}, "array": [0, 1]}
144
157
result : ["string", 42, {"key": "value"}, 0, 1]
145
158
status : fail
159
+ consensus : ["string", 42, {"key": "value"}, [0, 1]]
0 commit comments