Skip to content

Commit

Permalink
User-provided use case (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
f3ath authored Jun 1, 2024
1 parent a085de5 commit cbd619e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions test/cases/extra/user_cases.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"tests": [
{
"name": "https://github.com/f3ath/jessie/issues/103",
"selector" : "$[?match(key(@), 'Serial .*')]",
"document" : {
"ynid": "AX0086HHN",
"Serial Group": "009722918001826A",
"Serial Name": "foo",
"Serial Number": "bar",
"serial whatever": "baz"
},
"result": ["009722918001826A", "foo", "bar"]
}
]
}

0 comments on commit cbd619e

Please sign in to comment.