com php-src: Limit test to ICU 49: ext/intl/tests/bug62070.phpt
| From: | Gustavo André dos Santos Lopes | Date: | Mon, 30 Jul 2012 08:27:41 +0000 |
| Subject: | com php-src: Limit test to ICU 49: ext/intl/tests/bug62070.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-69731@lists.php.net to get a copy of this message | ||
Commit: 7e3e1837c8e60ad87e9b7aee6cb306a843f5c784
Author: Gustavo André dos Santos Lopes <cataphract@php.net> Mon, 30 Jul 2012
10:27:41 +0200
Parents: 9762609cecd8eb138906a8f371e2746ee042e5f4
Branches: PHP-5.3 PHP-5.4 master
Link: http://git.php.net/?p=php-src..git;a=commitdiff;h=7e3e1837c8e60ad87e9b7aee6cb306a843f5c784
Log:
Limit test to ICU 49
Changed paths:
M ext/intl/tests/bug62070.phpt
Diff:
diff --git a/ext/intl/tests/bug62070.phpt b/ext/intl/tests/bug62070.phpt
index a466b05..3ab0078 100644
--- a/ext/intl/tests/bug62070.phpt
+++ b/ext/intl/tests/bug62070.phpt
@@ -4,6 +4,8 @@ Bug #62070: Collator::getSortKey() returns garbage
<?php
if (!extension_loaded('intl'))
die('skip intl extension not enabled');
+if (version_compare(INTL_ICU_VERSION, '49') < 0)
+ die('skip ICU >= 49 only');
--FILE--
<?php
$s1 = 'Hello';