com php-src: Fix test for libtidy 5.6.0: ext/tidy/tests/030.phpt

From: Date: Thu, 11 Jan 2018 13:29:49 +0000
Subject: com php-src: Fix test for libtidy 5.6.0: ext/tidy/tests/030.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-100839@lists.php.net to get a copy of this message
Commit: 83a77383b92d8b1b1a5c141c10e9342aa64b1d92 Author: Anatol Belski <ab@php.net> Thu, 11 Jan 2018 14:28:09 +0100 Parents: a843a86e6f21ecc497cdd3c98d9cd5feb999f357 Branches: PHP-7.1 PHP-7.2 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=83a77383b92d8b1b1a5c141c10e9342aa64b1d92 Log: 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. Changed paths: M ext/tidy/tests/030.phpt Diff: diff --git a/ext/tidy/tests/030.phpt b/ext/tidy/tests/030.phpt index c351f9a..46809a9 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"

« previous php.cvs (#100839) next »