root/lang/perl6/Text-Trac/trunk/t/02_inline/sup.t
@
11974
| Revision 11974, 257 bytes (checked in by lyokato, 5 years ago) |
|---|
| Line | |
|---|---|
| 1 | use lib '../../lib'; |
| 2 | use Test; |
| 3 | use Text::Trac; |
| 4 | |
| 5 | plan 1; |
| 6 | |
| 7 | my $txt1 = q:to/END_OF_TEXT/; |
| 8 | |
| 9 | ^sup^ |
| 10 | |
| 11 | END_OF_TEXT |
| 12 | |
| 13 | my $trac = Text::Trac.new; |
| 14 | my $result1 = $trac.parse($txt1); |
| 15 | is($result1, q:to/END_OF_RESULT/.chomp, "sup"); |
| 16 | <p> |
| 17 | <sup>sup</sup> |
| 18 | </p> |
| 19 | END_OF_RESULT |
| 20 | |
| 21 |
Note: See TracBrowser
for help on using the browser.
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)