mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-10-06 02:40:44 +00:00
New test for undefined parameters
This commit is contained in:
parent
14e0a271d4
commit
120b93c242
@ -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<who>]
|
||||||
|
\end
|
||||||
|
|
||||||
|
<$text text={{{[function[greet],[world]]}}}/>
|
||||||
|
|
||||||
|
<<greet world>>
|
||||||
|
|
||||||
|
<$text text={{{[function[greet]]}}}/>
|
||||||
|
|
||||||
|
<<greet>>
|
||||||
|
+
|
||||||
|
title: ExpectedResult
|
||||||
|
|
||||||
|
hello world<p>hello world</p>hello <p>hello </p>
|
Loading…
Reference in New Issue
Block a user