Skip to content

Commit daaa2e6

Browse files
committed
make warning work
1 parent ad426e8 commit daaa2e6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ext/dom/tests/modern/html/parser/gh17486.phpt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ $html = <<<HTML
1818
<svg>
1919
<path d="{$repeated}" />
2020
</svg>
21-
<div>&#xa;</div>
21+
<div>&#x0;</div>
2222
</body>
2323
</html>
2424
HTML;
@@ -34,6 +34,6 @@ file_put_contents(__DIR__ . '/gh17486.tmp', $html);
3434
@unlink(__DIR__ . '/gh17486.tmp');
3535
?>
3636
--EXPECTF--
37-
Warning: Dom\HTMLDocument::createFromString(): tokenizer error control-character-reference in Entity, line: 7, column: 9 in %s on line %d
37+
Warning: Dom\HTMLDocument::createFromString(): tokenizer error null-character-reference in Entity, line: 7, column: 9 in %s on line %d
3838

39-
Warning: Dom\HTMLDocument::createFromFile(): tokenizer error control-character-reference in %sgh17486.tmp, line: 7, column: 9 in %s on line %d
39+
Warning: Dom\HTMLDocument::createFromFile(): tokenizer error null-character-reference in %s line: 7, column: 9 in %s on line %d

0 commit comments

Comments
 (0)