Skip to content

Commit

Permalink
support glob.match without delimiters #4923
Browse files Browse the repository at this point in the history
Signed-off-by: vinhph0906 <vinhph0906@gmail.com>
  • Loading branch information
vinhph0906 committed Jul 25, 2022
1 parent ef40d44 commit 3a51bd0
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions test/cases/testdata/globmatch/test-globmatch-0159.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,17 @@ cases:
want_result:
- x:
- true
- data: {}
modules:
- |
package generated
p[x] {
glob.match("foo*", null, "foo.bar", x)
}
note: globmatch/glob match single without default delimiter
query: data.generated.p = x
sort_bindings: true
want_result:
- x:
- true

0 comments on commit 3a51bd0

Please sign in to comment.