We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9d3b7c6 + e6cad90 commit c7f03f5Copy full SHA for c7f03f5
src/Symfony/Component/DomCrawler/Tests/NativeParserCrawlerTest.php
@@ -29,15 +29,16 @@ public function testAddHtmlContentWithErrors()
29
<head>
30
</head>
31
<body>
32
- <nav><a href="#"><a href="#"></nav>
+ <div><a href="#"></div>
33
+ </body>
34
</body>
35
</html>
36
EOF
37
, 'UTF-8');
38
39
$errors = libxml_get_errors();
40
$this->assertCount(1, $errors);
- $this->assertEquals("Tag nav invalid\n", $errors[0]->message);
41
+ $this->assertEquals("Unexpected end tag : body\n", $errors[0]->message);
42
43
libxml_clear_errors();
44
libxml_use_internal_errors($internalErrors);
0 commit comments