Skip to content

Commit

Permalink
test: Improve test (#1472)
Browse files Browse the repository at this point in the history
Closes #1461

Signed-off-by: unknowIfGuestInDream <liang.tang.cx@gmail.com>
  • Loading branch information
unknowIfGuestInDream committed Apr 8, 2024
1 parent 21536e7 commit c52f0fc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/src/test/resources/freemarker/templates/function.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@

<#function fCA(a, b, o...)>
<#local r>
<#compress>
a=${a}; b=${b}; o=<#if o?isSequence>[<#list o as v>${v!'null'}<#sep>, </#list>]
<#else>
{<#list o as k,v>${k}=${v!'null'}<#sep>, </#list>}
</#if>
</#compress>
</#local>
<#return r>
</#function>

0 comments on commit c52f0fc

Please sign in to comment.