com php-src: Fix test cases for libxml2 2.9.10: ext/dom/tests/D OMDocument_loadXML_error1.phpt ext/dom/tests/DOMDocum ent_load_error1.phpt

From: Date: Thu, 31 Oct 2019 15:07:34 +0000
Subject: com php-src: Fix test cases for libxml2 2.9.10: ext/dom/tests/D OMDocument_loadXML_error1.phpt ext/dom/tests/DOMDocum ent_load_error1.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-109151@lists.php.net to get a copy of this message
Commit: e29922f054639a934f3077190729007896ae244c Author: Christoph M. Becker <cmbecker69@gmx.de> Thu, 31 Oct 2019 16:02:05 +0100 Parents: 5f6eaf355cc92082d2b8841de4313e9ee2327eab Branches: PHP-7.2 PHP-7..3 PHP-7.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e29922f054639a934f3077190729007896ae244c Log: Fix test cases for libxml2 2.9.10 Since the error reporting has been slightly changed, we have to adapt the two affected test cases. Changed paths: M ext/dom/tests/DOMDocument_loadXML_error1.phpt M ext/dom/tests/DOMDocument_load_error1.phpt Diff: diff --git a/ext/dom/tests/DOMDocument_loadXML_error1.phpt b/ext/dom/tests/DOMDocument_loadXML_error1.phpt index 9a433d1282c..41dd169506f 100644 --- a/ext/dom/tests/DOMDocument_loadXML_error1.phpt +++ b/ext/dom/tests/DOMDocument_loadXML_error1.phpt @@ -21,6 +21,6 @@ domdocumentloadxml_test_method.php --EXPECTF-- Warning: DOMDocument::load%r(XML){0,1}%r(): Opening and ending tag mismatch: title line 5 and book %s -Warning: DOMDocument::load%r(XML){0,1}%r(): expected '>' %s +Warning: DOMDocument::load%r(XML){0,1}%r(): %rexpected '>'|Opening and ending tag mismatch: book line 5 and books%r %s -Warning: DOMDocument::load%r(XML){0,1}%r(): Premature end of data in tag books %s +Warning: DOMDocument::load%r(XML){0,1}%r(): %rPremature end of data in tag books|EndTag: '<\/' not found in Entity, line: 13%r %s diff --git a/ext/dom/tests/DOMDocument_load_error1.phpt b/ext/dom/tests/DOMDocument_load_error1.phpt index 4c661f7e696..a517af120a6 100644 --- a/ext/dom/tests/DOMDocument_load_error1.phpt +++ b/ext/dom/tests/DOMDocument_load_error1.phpt @@ -21,6 +21,6 @@ domdocumentload_test_method.php --EXPECTF-- Warning: DOMDocument::load%r(XML){0,1}%r(): Opening and ending tag mismatch: title line 5 and book %s -Warning: DOMDocument::load%r(XML){0,1}%r(): expected '>' %s +Warning: DOMDocument::load%r(XML){0,1}%r(): %rexpected '>'|Opening and ending tag mismatch: book line 5 and books%r %s -Warning: DOMDocument::load%r(XML){0,1}%r(): Premature end of data in tag books %s +Warning: DOMDocument::load%r(XML){0,1}%r(): %rPremature end of data in tag books|EndTag: '<\/' not found%r %s

« previous php.cvs (#109151) next »