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

        p[__local0__] {
          trim_prefix("¡¡¡foo, bar!!!", "¡¡¡foo", __local1__)
          __local0__ = __local1__
        }
    note: trimprefix/trims prefix '!¡' from string
    query: data.generated.p = x
    sort_bindings: true
    want_result:
      - x:
          - ", bar!!!"
