Apache-Clickable
view release on metacpan or search on metacpan
t/01_simple.t view on Meta::CPAN
use lib 't/lib';
use strict;
use Test;
BEGIN { plan tests => 2 }
use FilterTest;
use Apache::Clickable;
my $out = filters('t/sample.html', 'Apache::Clickable', {
ClickableTarget => undef,
ClickableEmail => 'On',
});
ok($out, qr(<a href="http://www\.foobar\.com/foobar\.html">));
ok($out, qr(<a href="mailto:foobar\@foobar\.com">));
( run in 0.693 second using v1.01-cache-2.11-cpan-df04353d9ac )