root/Apache-Clickable/trunk/t/02_target.t

Revision 163 (checked in by miyagawa, 19 years ago)

Initial revision

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 use lib 't/lib';
2 use strict;
3 use Test;
4 BEGIN { plan tests => 1 }
5
6 use FilterTest;
7 use Apache::Clickable;
8
9 my $out = filters('t/sample.html', 'Apache::Clickable', {
10     ClickableTarget => '_blank',
11     ClickableEmail => 'On',
12 });
13 ok($out, qr(<a href="http://www\.foobar\.com/foobar\.html" target="_blank">));
14
15
Note: See TracBrowser for help on using the browser.