---
cases:
  - data: {}
    modules:
      - |
        package generated

        p = __local0__ {
          object.remove({"a": 1, "b": {"c": 3}}, {"z"}, __local1__)
          __local0__ = __local1__
        }
    note: objectremove/key doesnt exist
    query: data.generated.p = x
    want_result:
      - x:
          a: 1
          b:
            c: 3
