From 120b93c2421595d1335c296eefd50318c56dd31a Mon Sep 17 00:00:00 2001 From: "jeremy@jermolene.com" Date: Wed, 19 Oct 2022 08:37:27 +0100 Subject: [PATCH] New test for undefined parameters --- .../data/functions/UndefinedParameters.tid | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 editions/test/tiddlers/tests/data/functions/UndefinedParameters.tid diff --git a/editions/test/tiddlers/tests/data/functions/UndefinedParameters.tid b/editions/test/tiddlers/tests/data/functions/UndefinedParameters.tid new file mode 100644 index 000000000..8a2b0a91a --- /dev/null +++ b/editions/test/tiddlers/tests/data/functions/UndefinedParameters.tid @@ -0,0 +1,22 @@ +title: Functions/UndefinedParameters +description: Undefined function parameters +type: text/vnd.tiddlywiki-multiple +tags: [[$:/tags/wiki-test-spec]] + +title: Output + +\function greet(who) +[[hello ]addsuffix] +\end + +<$text text={{{[function[greet],[world]]}}}/> + +<> + +<$text text={{{[function[greet]]}}}/> + +<> ++ +title: ExpectedResult + +hello world

hello world

hello

hello

\ No newline at end of file