diff --git a/src/Symfony/Component/DomCrawler/Tests/CrawlerTest.php b/src/Symfony/Component/DomCrawler/Tests/CrawlerTest.php
index 8dcdce9d30..5f3648acbd 100644
--- a/src/Symfony/Component/DomCrawler/Tests/CrawlerTest.php
+++ b/src/Symfony/Component/DomCrawler/Tests/CrawlerTest.php
@@ -330,8 +330,8 @@ EOF
public function testHtml()
{
- $this->assertEquals('
', $this->createTestCrawler()->filterXPath('//a[5]')->html());
- $this->assertEquals(''
+ $this->assertEquals('
', $this->createTestCrawler()->filterXPath('//a[5]')->html());
+ $this->assertEquals(''
, trim($this->createTestCrawler()->filterXPath('//form[@id="FooFormId"]')->html()));
try {