Skip to content

Commit

Permalink
Fix expectations for illformed sample author+email assertation
Browse files Browse the repository at this point in the history
  • Loading branch information
meldra committed Dec 14, 2011
1 parent 033e801 commit ce8ae50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions samples/illformed_atom10.xml
@@ -1,6 +1,6 @@
<!--
Description: entry author name
Expect: bozo and entries[0]['author_detail']['name'] == u'Example author'
Expect: bozo and entries[0]['author_detail']['name'] == u'Example author (me@example.com)'
-->
<feed xmlns="http://www.w3.org/2005/Atom">
<entry>
Expand All @@ -10,4 +10,4 @@ Expect: bozo and entries[0]['author_detail']['name'] == u'Example author'
<uri>http://example.com/</uri>
</author>
</entry>
</feed
</feed
2 changes: 1 addition & 1 deletion tests/MalformedFeedTest.php
Expand Up @@ -20,7 +20,7 @@ function test_Tidy() {
$feed = new XML_Feed_Parser($file, false, true, true);

$entry = $feed->getEntryByOffset(0);
$this->assertEquals($entry->author, 'Example author');
$this->assertEquals($entry->author, 'Example author (me@example.com)');
}
}

Expand Down

0 comments on commit ce8ae50

Please sign in to comment.