Created
March 27, 2012 22:45
-
-
Save palfrey/2221164 to your computer and use it in GitHub Desktop.
funcdef example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <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