Skip to content

Commit eee8b6c

Browse files
committed
fix test
1 parent 539738c commit eee8b6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/dom/tests/DOMDocument_loadHTMLfile_error2.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ $result = $doc->loadHTMLFile("");
1515
assert('$result === false');
1616
$doc = new DOMDocument();
1717
$result = $doc->loadHTMLFile("text.html\0something");
18-
assert('$result === null');
18+
assert('$result === false');
1919
?>
2020
--EXPECTF--
2121
%r(PHP ){0,1}%rWarning: DOMDocument::loadHTMLFile(): Empty string supplied as input %s
2222

23-
%r(PHP ){0,1}%rWarning: DOMDocument::loadHTMLFile() expects parameter 1 to be a valid path, string given %s
23+
%r(PHP ){0,1}%rWarning: DOMDocument::loadHTMLFile(): Invalid file source %s

0 commit comments

Comments
 (0)