Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 50dcf883c7
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (14 sloc) 0.494 kb
use Test::More tests => 3;
use Data::Dumper;
use Bookmarks::Parser;
my $parser = Bookmarks::Parser->new();
my $combined_bookmarks = $parser->parse({filename => 't/rt18894.xml'});
ok($combined_bookmarks, "Parsed the xml file");
my $as_xml = $combined_bookmarks->as_xml()->as_string();
ok($as_xml, "Got some xml output");
# Url is included in the xml output
like($as_xml, qr{<bookmark .* url="http://www\.perlmonks\.org}x,
"Bookmark url is included in the XML output"
);
#
# End of test
Jump to Line
Something went wrong with that request. Please try again.