Skip to content

Commit 05c8fc2

Browse files
committed
Merge pull request #6 from jmespath/add-multi-select-on-null
Adding test for multi-select-hash from null
2 parents fd5e5ba + 70014f6 commit 05c8fc2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/multiselect.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,11 @@
387387
"comment": "Nested multiselect",
388388
"expression": "[[*]]",
389389
"result": [[]]
390+
},
391+
{
392+
"comment": "Select on null",
393+
"expression": "missing.{foo: bar}",
394+
"result": null
390395
}
391396
]
392397
}

0 commit comments

Comments
 (0)