---
cases:
  - data:
      a:
        - 1
        - 2
        - 3
        - 4
    modules:
      - |
        package generated

        p {
          data.generated.q[1] = 2
        }

        q[i] = x {
          data.a[i] = x
        }
    note: "virtualdocs/input: object 1"
    query: data.generated.p = x
    want_result:
      - x: true
