Commit: 86ca788cc753fca581275cd7dc9d7013a2720777 Author: Gustavo André dos Santos Lopes <cataphr...@php.net> Mon, 30 Jul 2012 11:04:10 +0200 Parents: f8e693248f79955aeadad4d7a417c2529f0596bc Branches: PHP-5.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=86ca788cc753fca581275cd7dc9d7013a2720777 Log: Fix test title and limit it to ICU >= 4.8 Changed paths: M ext/intl/tests/resourcebundle_null_mandatory_args.phpt Diff: diff --git a/ext/intl/tests/resourcebundle_null_mandatory_args.phpt b/ext/intl/tests/resourcebundle_null_mandatory_args.phpt index 8fde61b..17fab6d 100644 --- a/ext/intl/tests/resourcebundle_null_mandatory_args.phpt +++ b/ext/intl/tests/resourcebundle_null_mandatory_args.phpt @@ -1,11 +1,13 @@ --TEST-- -IntlCalendar::setTime() basic test +ResourceBundle constructor bundle accepts NULL for first two arguments --INI-- date.timezone=Atlantic/Azores --SKIPIF-- <?php if (!extension_loaded('intl')) die('skip intl extension not enabled'); +if (version_compare(INTL_ICU_VERSION, '4.8') < 0) + die('skip ICU >= 4.8 only'); --FILE-- <?php ini_set("intl.error_level", E_WARNING); -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php