---
cases:
  - note: "strings/split: many"
    query: data.generated.p = x
    modules:
      - |
        package generated

        p := [x, y] if {
        	split("foo.bar.baz", ".", [x, "bar", y])
        }
    data: {}
    want_result:
      - x:
          - foo
          - baz
