mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-09 03:19:56 +00:00
b4d7e34a5a
* add unusedtitle macro tests - should have full code covery * remove numbering from tests
24 lines
685 B
Plaintext
24 lines
685 B
Plaintext
title: Macros/unusedtitle/template-empty-params
|
|
description: test <<unusedtitle>> with templates where parameters are empty
|
|
type: text/vnd.tiddlywiki-multiple
|
|
tags: [[$:/tags/wiki-test-spec]]
|
|
|
|
title: Output
|
|
|
|
<!-- empty template -->
|
|
<<unusedtitle template:"">>
|
|
|
|
<!--
|
|
uses basename but ignores separator,
|
|
because it uses default naming build rules -- no template handling is active
|
|
-->
|
|
<<unusedtitle template:"" separator:"-x-" baseName:"xxx">>
|
|
|
|
<<unusedtitle baseName:"" template:"$count:2$-$basename$">>
|
|
|
|
<<unusedtitle baseName:"asdf" separator:"" template:"$count:4$$separator$$basename$">>
|
|
|
|
+
|
|
title: ExpectedResult
|
|
|
|
<p>New Tiddler</p><p>xxx</p><p>00-New Tiddler</p><p>0000 asdf</p> |