summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2018-01-11 14:28:09 +0100
committerAnatol Belski <ab@php.net>2018-01-11 14:29:49 +0100
commit83a77383b92d8b1b1a5c141c10e9342aa64b1d92 (patch)
tree049c624c810c018a817a1c1bfde03449457a82ae /ext
parenta843a86e6f21ecc497cdd3c98d9cd5feb999f357 (diff)
downloadphp-git-83a77383b92d8b1b1a5c141c10e9342aa64b1d92.tar.gz
Fix test for libtidy 5.6.0
libtidy 5.6.0 remove the language option from the library, it is only supported on cli. Prior to that, this option was not used in the library. Thus, exclude the option presence from test.
Diffstat (limited to 'ext')
-rw-r--r--ext/tidy/tests/030.phpt5
1 files changed, 1 insertions, 4 deletions
diff --git a/ext/tidy/tests/030.phpt b/ext/tidy/tests/030.phpt
index c351f9af15..46809a91c7 100644
--- a/ext/tidy/tests/030.phpt
+++ b/ext/tidy/tests/030.phpt
@@ -12,18 +12,15 @@ $buffer = '<html></html>';
$config = array(
'indent' => true, // AutoBool
'indent-attributes' => true, // Boolean
- 'indent-spaces' => 3, // Integer
- 'language' => 'de'); // String
+ 'indent-spaces' => 3); // Integer
$tidy = new tidy();
$tidy->parseString($buffer, $config);
$c = $tidy->getConfig();
var_dump($c['indent']);
var_dump($c['indent-attributes']);
var_dump($c['indent-spaces']);
-var_dump($c['language']);
?>
--EXPECTF--
int(1)
bool(true)
int(3)
-%s(2) "de"