com php-src: fix test: ext/dom/tests/DOMDocument_loadHTMLfile _error2.phpt

From: Date: Wed, 10 Jun 2015 08:59:37 +0000
Subject: com php-src: fix test: ext/dom/tests/DOMDocument_loadHTMLfile _error2.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-87168@lists.php.net to get a copy of this message
Commit: 928dce708ce18daa9c191f6ab4b6ab861a218e8f Author: Stanislav Malyshev <stas@php.net> Tue, 9 Jun 2015 17:11:33 -0700 Committer: Julien Pauli <jpauli@php.net> Wed, 10 Jun 2015 10:59:37 +0200 Parents: e22f22e6ae83298454576f80b1a91373e7a21ce2 Branches: PHP-5.5.26 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=928dce708ce18daa9c191f6ab4b6ab861a218e8f Log: fix test Changed paths: M ext/dom/tests/DOMDocument_loadHTMLfile_error2.phpt Diff: diff --git a/ext/dom/tests/DOMDocument_loadHTMLfile_error2.phpt b/ext/dom/tests/DOMDocument_loadHTMLfile_error2.phpt index 75004e2..e0d0923 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

« previous php.cvs (#87168) next »