diff --git a/test/scenarios/paths/data.ts b/test/scenarios/paths/data.ts index e617a34..961bbc0 100644 --- a/test/scenarios/paths/data.ts +++ b/test/scenarios/paths/data.ts @@ -114,6 +114,7 @@ export const data: Scenario[] = [ b: 3, }, ], + [2, 4, 6], ], }, { diff --git a/test/scenarios/paths/json_path.jt b/test/scenarios/paths/json_path.jt index 55f9c01..2749f9a 100644 --- a/test/scenarios/paths/json_path.jt +++ b/test/scenarios/paths/json_path.jt @@ -2,4 +2,5 @@ ~j $.foo, ~j $.items[*], ~j $.items[?(@.a>1)], + ~j $.items.(@.a + @.b) ] \ No newline at end of file