Debian Codegraph @

t/05-atom10-link.t

raw
1 use strict;
2 use warnings;
3 use XML::Feed;
4
5 use Test::More;
6 plan tests => 3;
7
8 my $feed = XML::Feed->parse("t/samples/atom-10-example.xml");
9 is $feed->title, 'Example Feed';
10 is $feed->link, 'http://example.org/', "link without rel";
11
12 my $e = ($feed->entries)[0];
13 ok $e->link, 'entry link without rel';
14