Description: verbatim tags should be nestable to at least two levels. [[%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?test=compare&debugenableplugins=TestFixturePlugin&skin=pattern][run this test]] Designed by: Crawford Currie * Set EGG = font color="blue" * Set BACON = font color="purple" * Set ENDBREAKFAST = /font <table> <tr><th>Expected</th><th>Actual</th></tr> <tr><td> <!-- expected FIRST TEST --> <font color="purple"> Before Verbatim </font> <pre> <%EGG%> In outer verbatim <%ENDBREAKFAST%> <verbatim> In inner verbatim with <text in angle braces> </verbatim> <%EGG%> In outer verbatim again <%ENDBREAKFAST%> </pre> <font color="purple"> After Verbatim </font> <!-- /expected --> </verbatim> </td><td> <!-- actual --> <%BACON%> Before Verbatim <%ENDBREAKFAST%> <verbatim> <%EGG%> In outer verbatim <%ENDBREAKFAST%> <verbatim> In inner verbatim with <text in angle braces> </verbatim> <%EGG%> In outer verbatim again <%ENDBREAKFAST%> </verbatim> <%BACON%> After Verbatim <%ENDBREAKFAST%> <!-- /actual --> </td></tr></table> ---++ Expected at end of topic <!-- expected SECOND TEST --> Function is <pre> ---++ sub marine() => dive dive dive Admire the pretty fishes. Usage: <verbatim> my $fishes = _marine(); if ( $fishes->{"big mouth rass"} ) { </verbatim> </pre> Lorem ipsum is pig latin for "that's my lorry, that is". <p /> -- <span style="color: #0000ff">AlexanderTheGeek</span> - 01 Nov 2004 <!-- /expected --> ---++ Actual at end of topic <!-- actual --> Function is <verbatim> ---++ sub marine() => dive dive dive Admire the pretty fishes. Usage: <verbatim> my $fishes = _marine(); if ( $fishes->{"big mouth rass"} ) { </verbatim> </verbatim> Lorem ipsum is pig latin for "that's my lorry, that is". -- %BLUE%AlexanderTheGeek%ENDCOLOR% - 01 Nov 2004
This topic: TestCases
>
TestCaseAutoNestedVerbatim
Topic revision: r1 - 2021-01-06 - TWikiGuest
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback