---
cases:
  - note: "strings/format_int: ref dest"
    query: data.generated.p = x
    modules:
      - |
        package generated

        p if {
        	__local0__ = data.numbers[2]
        	format_int(3.1, 10, __local0__)
        }
    data:
      numbers:
        - "1"
        - "2"
        - "3"
        - "4"
    want_result:
      - x: true
