---
cases:
  - note: "eqexpr/pattern: object multiple vars 2"
    query: data.generated.p = x
    modules:
      - |
        package generated

        p contains z if {
        	{"x": x, "y": 2} = {"x": 1, "y": y}
        	z = [x, y]
        }
    data: {}
    want_result:
      - x:
          - - 1
            - 2
    sort_bindings: true
