Skip to content

Commit

Permalink
Merge pull request pear#6 from meldra/master
Browse files Browse the repository at this point in the history
additional fixes for test assertations
  • Loading branch information
meldra committed Dec 17, 2011
2 parents b72320a + 22791fc commit 99ccf9a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions samples/illformed_atom10.xml
@@ -1,6 +1,6 @@
<!-- <!--
Description: entry author name 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"> <feed xmlns="http://www.w3.org/2005/Atom">
<entry> <entry>
Expand All @@ -10,4 +10,4 @@ Expect: bozo and entries[0]['author_detail']['name'] == u'Example author'
<uri>http://example.com/</uri> <uri>http://example.com/</uri>
</author> </author>
</entry> </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); $feed = new XML_Feed_Parser($file, false, true, true);


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


Expand Down
3 changes: 1 addition & 2 deletions tests/atomValues.php
Expand Up @@ -118,8 +118,7 @@ function test_entryAuthorURL()


function test_entryAuthorName() function test_entryAuthorName()
{ {
$value = 'Mark Pilgrim (f8dy@example.com) $value = 'Mark Pilgrim (f8dy@example.com)';
';
$this->assertEquals($value, $this->entry->author); $this->assertEquals($value, $this->entry->author);
} }


Expand Down

0 comments on commit 99ccf9a

Please sign in to comment.