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

        p contains x if {
        	y = 2
        	{"a": 1, "b": y} = x
        }
    data: {}
    want_result:
      - x:
          - a: 1
            b: 2
    sort_bindings: true
