com php-src: Fix test title and limit it to ICU >= 4. 8: ext/intl/tests/resourcebundle_null_mandatory_arg s.phpt
| From: | Gustavo André dos Santos Lopes | Date: | Mon, 30 Jul 2012 09:04:10 +0000 |
| Subject: | com php-src: Fix test title and limit it to ICU >= 4. 8: ext/intl/tests/resourcebundle_null_mandatory_arg s.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-69735@lists.php.net to get a copy of this message | ||
Commit: 86ca788cc753fca581275cd7dc9d7013a2720777
Author: Gustavo André dos Santos Lopes <cataphract@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);