---
cases:
  - data: {}
    modules:
      - |
        package generated

        p[x] {
          glob.match("{cat,bat,[fr]at}", [], "cat", x)
        }
    note: globmatch/glob match with pattern-alternatives list (cat)
    query: data.generated.p = x
    sort_bindings: true
    want_result:
      - x:
          - true
