---
cases:
  - note: netcidrcontainsmatches/strings
    query: data.generated.p = x
    modules:
      - |
        package generated

        p := __local0__ if {
        	net.cidr_contains_matches("1.1.1.0/24", "1.1.1.1", __local1__)
        	__local0__ = __local1__
        }
    data: {}
    want_result:
      - x:
          - - 1.1.1.0/24
            - 1.1.1.1
