com php-src: Fixed test skip: ext/dom/tests/bug76285.phpt

From: Date: Wed, 04 Jul 2018 03:20:28 +0000
Subject: com php-src: Fixed test skip: ext/dom/tests/bug76285.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-102398@lists.php.net to get a copy of this message
Commit: a6467af8a5569d9953ee0ffae9565a746514de23 Author: Xinchen Hui <laruence@gmail.com> Wed, 4 Jul 2018 11:19:25 +0800 Parents: 36f05a80d7cf11fffb827c7f0b6c8e73d3846e8e Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a6467af8a5569d9953ee0ffae9565a746514de23 Log: Fixed test skip Changed paths: M ext/dom/tests/bug76285.phpt Diff: diff --git a/ext/dom/tests/bug76285.phpt b/ext/dom/tests/bug76285.phpt index e6668b1..c5fbd96 100644 --- a/ext/dom/tests/bug76285.phpt +++ b/ext/dom/tests/bug76285.phpt @@ -1,5 +1,8 @@ --TEST-- Bug #76285 DOMDocument::formatOutput attribute sometimes ignored +--SKIPIF-- +<?php require_once('skipif.inc'); ?> +<?php if (!defined("LIBXML_HTML_NOIMPLIED")) die("skip libxml2 2.7.7 required"); ?> --FILE-- <?php @@ -15,4 +18,4 @@ var_dump($dom->saveHTML()); --EXPECT-- string(56) "<div><div><a>test</a></div><div><a>test2</a></div></div>" string(57) "<div><div><a>test</a></div><div><a>test2</a></div></div> -" \ No newline at end of file +"

« previous php.cvs (#102398) next »