diff options
author | Stanislav Malyshev <stas@php.net> | 2015-06-09 17:11:33 -0700 |
---|---|---|
committer | Julien Pauli <jpauli@php.net> | 2015-06-10 10:59:37 +0200 |
commit | 928dce708ce18daa9c191f6ab4b6ab861a218e8f (patch) | |
tree | 7f38a4a1ad230f70154b31d0059b97b5082e7d4e | |
parent | e22f22e6ae83298454576f80b1a91373e7a21ce2 (diff) | |
download | php-git-928dce708ce18daa9c191f6ab4b6ab861a218e8f.tar.gz |
fix test
-rw-r--r-- | ext/dom/tests/DOMDocument_loadHTMLfile_error2.phpt | 4 |
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 |