updat tests

This commit is contained in:
pmario 2024-04-16 15:24:22 +02:00
parent bd94695f3e
commit ffdfb9c46c
3 changed files with 17 additions and 2 deletions

View File

@ -12,4 +12,4 @@ title: Output
+
title: ExpectedResult
<p><button class=""><button class=""><button class=""><button class=""><button class=""><button class=""><button class=""><button class=""><button class=""><button class=""><button class=""><button class=""><button class=""><button class=""><button class=""><button class=""><button class=""><button class=""><button class=""><button class=""><button class=""><button class=""><button class=""><button class=""><button class=""><button class=""><span class="tc-error">55 - Recursive transclusion error in transclude widget</span></button></button></button></button></button></button></button></button></button></button></button></button></button></button></button></button></button></button></button></button></button></button></button></button></button></button></p>
<p><button class=""><span class="tc-error">Possible Recursive Error: Button in button is not allowed</span></button></p>

View File

@ -0,0 +1,15 @@
title: Transclude/Recursion/ButtonInButton
description: Button in Button
type: text/vnd.tiddlywiki-multiple
tags: [[$:/tags/wiki-test-spec]]
title: Output
\whitespace trim
<$button>Test Button
<$button>Invalid button
</$button>
+
title: ExpectedResult
<p><button class="">Test Button<span class="tc-error">Possible Recursive Error: Button in button is not allowed</span></button></p>

View File

@ -9,7 +9,7 @@ title: Output
+
title: Button
<$button><<tv-ancestors>></$button>
<$button><<tv-widget-ancestors>></$button>
+
title: ExpectedResult