diff options
author | Eric Wong <e@80x24.org> | 2014-04-27 05:04:02 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2014-04-27 05:59:24 +0000 |
commit | f5a852a0fbaad70512abdbf4332dca343b85bc89 (patch) | |
tree | b28d38a16cf2fe4643988bebc6f178bdf8648137 /t | |
parent | 297b4cf31e6c46672f975eadb24b3617ded39a41 (diff) | |
download | public-inbox-f5a852a0fbaad70512abdbf4332dca343b85bc89.tar.gz |
Feed: <id> element must be a URI, oops :x
For each feed element, we'll just use the link since there's currently no suitable URN.
Diffstat (limited to 't')
-rw-r--r-- | t/feed.t | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -58,7 +58,7 @@ EOF my $p = XML::Feed->parse(\$feed); is($p->format, "Atom", "parsed atom feed"); is(scalar $p->entries, 3, "parsed three entries"); - is($p->id, 'public-inbox@example.com', + is($p->id, 'mailto:public-inbox@example.com', "id is set to default"); } @@ -142,7 +142,8 @@ EOF SKIP: { skip 'XML::Feed missing', 3 unless $have_xml_feed; my $p = XML::Feed->parse(\$feed); - is($p->id, 'a@example.com', "ID is set correctly"); + is($p->id, 'mailto:a@example.com', + "ID is set correctly"); is($p->format, "Atom", "parsed atom feed"); is(scalar $p->entries, 3, "parsed three entries"); } |