Skip to content

Instantly share code, notes, and snippets.

@palfrey
Created March 27, 2012 22:45
Show Gist options
  • Select an option

  • Save palfrey/2221164 to your computer and use it in GitHub Desktop.

Select an option

Save palfrey/2221164 to your computer and use it in GitHub Desktop.
funcdef example
<funcdef name="testFunc" namespace="tests">
<funcparams>
<funcparam name="test" type="string" />
</funcparams>
<do>
<property name="__$return__" value="__test__" />
</do>
</funcdef>
<fail unless="${tests::testFunc('foo') == 'foo'}" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment