diff options
author | Fabien Villepinte <fabien.villepinte@gmail.com> | 2019-11-07 21:31:47 +0100 |
---|---|---|
committer | Fabien Villepinte <fabien.villepinte@gmail.com> | 2019-11-07 21:31:47 +0100 |
commit | a555cc0b3d4f745e6d0bb8c595de400a0c728827 (patch) | |
tree | 61afac4216a8e7e629a878b8a873d8b32b7cf4a4 /ext/xml | |
parent | 80cfd990740aef314b7943a3fa18c27a23f40566 (diff) | |
download | php-git-a555cc0b3d4f745e6d0bb8c595de400a0c728827.tar.gz |
Clean DONE tags from tests
Remove most of the `===DONE===` tags and its variations.
Keep `===DONE===` if the test output otherwise becomes empty.
Closes GH-4872.
Diffstat (limited to 'ext/xml')
-rw-r--r-- | ext/xml/tests/bug30875.phpt | 2 | ||||
-rw-r--r-- | ext/xml/tests/bug71592.phpt | 2 | ||||
-rw-r--r-- | ext/xml/tests/bug72085.phpt | 2 | ||||
-rw-r--r-- | ext/xml/tests/bug72714.phpt | 2 |
4 files changed, 0 insertions, 8 deletions
diff --git a/ext/xml/tests/bug30875.phpt b/ext/xml/tests/bug30875.phpt index c5254e9668..c7983c45da 100644 --- a/ext/xml/tests/bug30875.phpt +++ b/ext/xml/tests/bug30875.phpt @@ -19,7 +19,6 @@ xml_parse_into_struct($parser, $xml, $vals); xml_parser_free($parser); var_dump($vals); ?> -===DONE=== --EXPECT-- array(1) { [0]=> @@ -39,4 +38,3 @@ array(1) { string(4) "aent" } } -===DONE=== diff --git a/ext/xml/tests/bug71592.phpt b/ext/xml/tests/bug71592.phpt index e76e7b4ef6..260ea989d9 100644 --- a/ext/xml/tests/bug71592.phpt +++ b/ext/xml/tests/bug71592.phpt @@ -26,7 +26,5 @@ xml_set_external_entity_ref_handler($parser, function () { xml_parse($parser, $xml); var_dump(xml_get_error_code($parser) === XML_ERROR_EXTERNAL_ENTITY_HANDLING); ?> -===DONE=== --EXPECT-- bool(true) -===DONE=== diff --git a/ext/xml/tests/bug72085.phpt b/ext/xml/tests/bug72085.phpt index 44ae1f1cde..078210f569 100644 --- a/ext/xml/tests/bug72085.phpt +++ b/ext/xml/tests/bug72085.phpt @@ -10,7 +10,6 @@ $var1 = xml_parser_create_ns(); xml_set_element_handler($var1, new Exception(""), 4096); xml_parse($var1, str_repeat("<a>", 10)); ?> -===DONE=== --EXPECTF-- Warning: Invalid callback Exception in %s%ebug72085.php:%d Stack trace: @@ -71,4 +70,3 @@ Stack trace: #0 {main}, no array or string given in %s%ebug72085.php on line %d Warning: xml_parse(): Unable to call handler in %s%ebug72085.php on line %d -===DONE=== diff --git a/ext/xml/tests/bug72714.phpt b/ext/xml/tests/bug72714.phpt index 7b44e1fd11..53b9239045 100644 --- a/ext/xml/tests/bug72714.phpt +++ b/ext/xml/tests/bug72714.phpt @@ -27,9 +27,7 @@ function parse($tagstart) { parse(3015809298423721); parse(20); ?> -===DONE=== --EXPECTF-- Notice: xml_parser_set_option(): tagstart ignored, because it is out of range in %s%ebug72714.php on line %d string(9) "NS1:TOTAL" string(0) "" -===DONE=== |