diff --git a/Tests/Html5ParserCrawlerTest.php b/Tests/Html5ParserCrawlerTest.php
index 58c1db8..79b8b51 100644
--- a/Tests/Html5ParserCrawlerTest.php
+++ b/Tests/Html5ParserCrawlerTest.php
@@ -43,7 +43,7 @@ public function testHtml5ParserWithInvalidHeadedContent(string $content)
{
$crawler = $this->createCrawler();
$crawler->addHtmlContent($content);
- self::assertEmpty($crawler->filterXPath('//h1')->text(), '->addHtmlContent failed as expected');
+ self::assertSame('', $crawler->filterXPath('//h1')->text(), '->addHtmlContent failed as expected');
}
public function testHtml5ParserNotSameAsNativeParserForSpecificHtml()