use warnings; use strict; use Test::More 'no_plan'; use lib ('lib', '../lib'); use MKDoc::Text::Structured; my $text = undef; $text = MKDoc::Text::Structured::process ("This is a test: http://www.google.com/"); is ($text, '

This is a test: http://www.google.com/

'); $text = MKDoc::Text::Structured::process ("This is a test: "); is ($text, '

This is a test: <http://www.google.com/>

'); $text = MKDoc::Text::Structured::process ("This is a test: http://www.google.com/?a=b&c=d"); is ($text, '

This is a test: http://www.google.com/?a=b&c=d

'); __END__