diff options
author | Gustavo André dos Santos Lopes <cataphract@php.net> | 2012-07-30 11:04:10 +0200 |
---|---|---|
committer | Gustavo André dos Santos Lopes <cataphract@php.net> | 2012-07-30 11:04:10 +0200 |
commit | 86ca788cc753fca581275cd7dc9d7013a2720777 (patch) | |
tree | 9d067f12f3c953d008799949dacc5bccbba2808e | |
parent | f8e693248f79955aeadad4d7a417c2529f0596bc (diff) | |
download | php-git-86ca788cc753fca581275cd7dc9d7013a2720777.tar.gz |
Fix test title and limit it to ICU >= 4.8
-rw-r--r-- | ext/intl/tests/resourcebundle_null_mandatory_args.phpt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/intl/tests/resourcebundle_null_mandatory_args.phpt b/ext/intl/tests/resourcebundle_null_mandatory_args.phpt index 8fde61bd21..17fab6d630 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); |