Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (11 sloc) 0.394 kb
use Test::More tests => 6;
use WWW::Shorten qw( Metamark :short );
ok( exists $::{'short_link'}, 'shorter exists');
ok( exists $::{'long_link'}, 'longer exists');
use WWW::Shorten qw( Metamark :default );
ok( exists $::{'makeashorterlink'}, 'shorter exists');
ok( exists $::{'makealongerlink'}, 'longer exists');
eval { &makeashorterlink() };
ok($@);
eval { &makealongerlink() };
ok($@);
Jump to Line
Something went wrong with that request. Please try again.