Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitefa076e

Browse files
Merge branch '6.4' into 7.3
* 6.4: [Tests] Adapt testAddHtmlContentWithErrors to be HTML5 compliant
2 parents8b2ee2e +9763029 commitefa076e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎Tests/NativeParserCrawlerTest.php‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,16 @@ public function testAddHtmlContentWithErrors()
2929
<head>
3030
</head>
3131
<body>
32-
<nav><a href="#"><a href="#"></nav>
32+
<div><a href="#"></div>
33+
</body>
3334
</body>
3435
</html>
3536
EOF
3637
,'UTF-8');
3738

3839
$errors =libxml_get_errors();
3940
$this->assertCount(1,$errors);
40-
$this->assertEquals("Tag nav invalid\n",$errors[0]->message);
41+
$this->assertEquals("Unexpected end tag : body\n",$errors[0]->message);
4142

4243
libxml_clear_errors();
4344
libxml_use_internal_errors($internalErrors);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp