~ubuntu-branches/ubuntu/raring/libtext-wikiformat-perl/raring

« back to all changes in this revision

Viewing changes to t/Wiki.t

  • Committer: Bazaar Package Importer
  • Author(s): Sam Johnston
  • Date: 2005-10-29 14:55:06 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20051029145506-1tmftro3hh9kzh9a
Tags: 0.76-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!perl
 
2
 
 
3
BEGIN { chdir 't' if -d 't' }
1
4
 
2
5
use strict;
3
 
 
4
 
BEGIN {
5
 
        chdir 't' if -d 't';
6
 
        unshift @INC, '../lib', '../blib/lib';
7
 
}
 
6
use warnings;
8
7
 
9
8
# for testing 'rootdir' in links
10
9
my %constants = (
93
92
WIKIEXAMPLE
94
93
 
95
94
$htmltext = Text::WikiFormat::format($wikiexample, {}, { prefix => 'foo=' });
 
95
 
96
96
like( $htmltext, qr!^<p>I am modifying this!,
97
97
        '... should use correct tags when ending lists' );
98
98
like( $htmltext, qr!<p>Here is a paragraph.<br />!,