---
cases:
  - note: netcidrcontains/cidr contains single ip subnet ipv6
    query: data.generated.p = x
    modules:
      - |
        package generated

        p contains x if {
        	net.cidr_contains("2001:4860:4860::8888/32", "2001:4860:4860:1234:5678:1234:5678:8888/128", x)
        }
    data: {}
    want_result:
      - x:
          - true
    sort_bindings: true
