summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2015-06-09 17:11:33 -0700
committerFerenc Kovacs <tyrael@php.net>2015-06-10 09:30:01 +0200
commita6d7dd302c38cff367d1ffe7d438b715e9fe1a74 (patch)
tree0ea5dcf479fe4183a270b308b49be122b003f321
parentd2ac264ffea5ca2e85640b6736e0c7cd4ee9a4a9 (diff)
downloadphp-git-a6d7dd302c38cff367d1ffe7d438b715e9fe1a74.tar.gz
fix test
-rw-r--r--ext/dom/tests/DOMDocument_loadHTMLfile_error2.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dom/tests/DOMDocument_loadHTMLfile_error2.phpt b/ext/dom/tests/DOMDocument_loadHTMLfile_error2.phpt
index 75004e2a74..e0d0923642 100644
--- a/ext/dom/tests/DOMDocument_loadHTMLfile_error2.phpt
+++ b/ext/dom/tests/DOMDocument_loadHTMLfile_error2.phpt
@@ -15,9 +15,9 @@ $result = $doc->loadHTMLFile("");
assert('$result === false');
$doc = new DOMDocument();
$result = $doc->loadHTMLFile("text.html\0something");
-assert('$result === null');
+assert('$result === false');
?>
--EXPECTF--
%r(PHP ){0,1}%rWarning: DOMDocument::loadHTMLFile(): Empty string supplied as input %s
-%r(PHP ){0,1}%rWarning: DOMDocument::loadHTMLFile() expects parameter 1 to be a valid path, string given %s
+%r(PHP ){0,1}%rWarning: DOMDocument::loadHTMLFile(): Invalid file source %s