summaryrefslogtreecommitdiff
path: root/ext/intl/tests/formatter_format3.phpt
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-04-14 15:34:32 +0200
committerAnatol Belski <ab@php.net>2014-04-14 15:34:32 +0200
commitd483e1dacad1d274aa7fbd681fc802b83cb67b39 (patch)
treed8c2ca8fd9cb2ba13d39fceb29720b5e3048fa48 /ext/intl/tests/formatter_format3.phpt
parente3abcf7826993876cf6c9cc09eb848b67d40e85e (diff)
downloadphp-git-d483e1dacad1d274aa7fbd681fc802b83cb67b39.tar.gz
test fixes for ICU 53.1
Diffstat (limited to 'ext/intl/tests/formatter_format3.phpt')
-rw-r--r--ext/intl/tests/formatter_format3.phpt5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/intl/tests/formatter_format3.phpt b/ext/intl/tests/formatter_format3.phpt
index d52d15999c..b9d6eb5c3d 100644
--- a/ext/intl/tests/formatter_format3.phpt
+++ b/ext/intl/tests/formatter_format3.phpt
@@ -1,8 +1,9 @@
--TEST--
-numfmt_format() icu >= 52.1
+numfmt_format() icu >= 52.1 && icu < 53.1
--SKIPIF--
<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
-<?php if(version_compare(INTL_ICU_VERSION, '52.1') < 0) print 'skip'; ?>
+<?php if(version_compare(INTL_ICU_VERSION, '52.1') < 0) print 'skip for ICU >= 52.1'; ?>
+<?php if (version_compare(INTL_ICU_VERSION, '53.1') >= 0) die('skip for ICU < 53.1'); ?>
--FILE--
<?php