From 83a77383b92d8b1b1a5c141c10e9342aa64b1d92 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Thu, 11 Jan 2018 14:28:09 +0100 Subject: [PATCH] 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. --- ext/tidy/tests/030.phpt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ext/tidy/tests/030.phpt b/ext/tidy/tests/030.phpt index c351f9af15e..46809a91c74 100644 --- a/ext/tidy/tests/030.phpt +++ b/ext/tidy/tests/030.phpt @@ -12,18 +12,15 @@ $buffer = ''; $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"