We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adbd2a2 commit 0d865e6Copy full SHA for 0d865e6
test/compliance/slice.json
@@ -131,7 +131,8 @@
131
"given": {
132
"foo": [{"a": 1}, {"a": 2}, {"a": 3}],
133
"bar": [{"a": {"b": 1}}, {"a": {"b": 2}},
134
- {"a": {"b": 3}}]
+ {"a": {"b": 3}}],
135
+ "baz": 50
136
},
137
"cases": [
138
{
@@ -153,6 +154,10 @@
153
154
155
"expression": "bar[:2].a.b",
156
"result": [1, 2]
157
+ },
158
+ {
159
+ "expression": "baz[:2].a",
160
+ "result": null
161
}
162
]
163
}, {
0 commit comments