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

        p = __local0__ {
          net.cidr_contains_matches({"1.1.1.0/24", "1.1.2.0/24"}, {"1.1.1.1", "1.1.2.1"}, __local1__)
          __local0__ = __local1__
        }
    note: netcidrcontainsmatches/sets of strings
    query: data.generated.p = x
    sort_bindings: true
    want_result:
      - x:
          - - 1.1.1.0/24
            - 1.1.1.1
          - - 1.1.2.0/24
            - 1.1.2.1
