---
cases:
  - note: objectremove/multiple keys object
    query: data.generated.p = x
    modules:
      - |
        package generated

        p := __local0__ if {
        	object.remove({"a": 1, "b": {"c": 3}, "d": 4}, {"b": 1, "d": ""}, __local1__)
        	__local0__ = __local1__
        }
    data: {}
    want_result:
      - x:
          a: 1
