Skip to content

Commit 8eccf17

Browse files
committed
php/php-src 5af0db8: Prepare tests for ICU 62.1
Apply php/php-src commit 5af0db8
1 parent 4b6d59f commit 8eccf17

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

ext/intl/tests/formatter_format7.phpt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
--TEST--
2-
numfmt_format() icu >= 61.1
2+
numfmt_format() icu >= 61.1 && < 62.1
33
--SKIPIF--
44
<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
55
<?php if (version_compare(INTL_ICU_VERSION, '61.1') < 0) die('skip for ICU >= 61.1'); ?>
6+
<?php if (version_compare(INTL_ICU_VERSION, '62.1') >= 0) die('skip for ICU < 62.1'); ?>
67
--FILE--
78
<?php
89

ext/intl/tests/formatter_get_locale_variant3.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ numfmt_get_locale()
33
--SKIPIF--
44
<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
55
<?php if (version_compare(INTL_ICU_VERSION, '58.1') < 0) die('skip for ICU >= 58.1'); ?>
6+
<?php if (version_compare(INTL_ICU_VERSION, '62.1') >= 0) die('skip for ICU < 62.1'); ?>
67
--FILE--
78
<?php
89

0 commit comments

Comments
 (0)