diff options
author | Anatol Belski <ab@php.net> | 2014-02-05 19:16:14 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-02-05 19:25:14 +0100 |
commit | e8f16c17927c288475f84331b651c9d45d5e3c46 (patch) | |
tree | e7e409bbff35994ed1fcd6d7b85548f622df77bd /ext/intl/tests/dateformat_get_set_calendar_variant2.phpt | |
parent | ae310e078de3c545a1bade3f5a07d8c1d05d953a (diff) | |
download | php-git-e8f16c17927c288475f84331b651c9d45d5e3c46.tar.gz |
fix tests for ICU >= 52.1
Diffstat (limited to 'ext/intl/tests/dateformat_get_set_calendar_variant2.phpt')
-rw-r--r-- | ext/intl/tests/dateformat_get_set_calendar_variant2.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/tests/dateformat_get_set_calendar_variant2.phpt b/ext/intl/tests/dateformat_get_set_calendar_variant2.phpt index 1c5169e65d..9e8d76c1bb 100644 --- a/ext/intl/tests/dateformat_get_set_calendar_variant2.phpt +++ b/ext/intl/tests/dateformat_get_set_calendar_variant2.phpt @@ -3,7 +3,7 @@ IntlDateFormatter: setCalendar()/getCalendar()/getCalendarObject() --SKIPIF-- <?php if (!extension_loaded('intl')) die('skip intl extension not enabled'); ?> -<?php if (version_compare(INTL_ICU_VERSION, '51.2') < 0) die('skip for ICU >= 51.2'); ?> +<?php if (version_compare(INTL_ICU_VERSION, '51.2') < 0 || version_compare(INTL_ICU_VERSION, '52.1') >= 0) die('skip for ICU >= 51.2 and < 52.1'); ?> --FILE-- <?php ini_set("intl.error_level", E_WARNING); |