---
cases:
  - note: urlbuiltins/encode
    query: data.generated.p = x
    modules:
      - |
        package generated

        p := x if {
        	urlquery.encode("a=b+1", x)
        }
    data: {}
    want_result:
      - x: a%3Db%2B1
