---
cases:
  - note: aggregates/count with invalid utf-8 chars (0xFFFD)
    query: data.test.p = x
    modules:
      - |
        package test

        p contains x if {
        	x := count(base64.decode("2E84ZuPUd7zfvCZSNEchVpDEIj6PL7JfLpIqyxVG16k="))
        }
    want_result:
      - x:
          - 30
    sort_bindings: true
