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

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