diff options
author | Anatol Belski <ab@php.net> | 2017-10-20 15:24:43 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2017-10-20 15:24:43 +0200 |
commit | 2f444640b4156208994c246015f45d3cbe8828a3 (patch) | |
tree | 69171fdba9178d85508aa597d1940e809e363d96 | |
parent | e2afa00b4cc751588d9cb386735ae544812dc482 (diff) | |
download | php-git-2f444640b4156208994c246015f45d3cbe8828a3.tar.gz |
Fix version checks in tests
-rw-r--r-- | ext/intl/tests/timezone_IDforWindowsID_basic.phpt | 2 | ||||
-rw-r--r-- | ext/intl/tests/timezone_IDforWindowsID_basic2.phpt | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/ext/intl/tests/timezone_IDforWindowsID_basic.phpt b/ext/intl/tests/timezone_IDforWindowsID_basic.phpt index 935a893875..f8e3d33325 100644 --- a/ext/intl/tests/timezone_IDforWindowsID_basic.phpt +++ b/ext/intl/tests/timezone_IDforWindowsID_basic.phpt @@ -5,7 +5,7 @@ IntlTimeZone::getIDForWindowsID basic test if (!extension_loaded('intl')) die('skip intl extension not enabled'); ?> <?php if (version_compare(INTL_ICU_VERSION, '52') < 0)die('skip for ICU >= 52'); ?> -<?php if (version_compare(INTL_ICU_VERSION, '57.1') >= 0) die('skip for ICU <= 57.1'); ?> +<?php if (version_compare(INTL_ICU_VERSION, '58.1') >= 0) die('skip for ICU <= 57.1'); ?> --FILE-- <?php diff --git a/ext/intl/tests/timezone_IDforWindowsID_basic2.phpt b/ext/intl/tests/timezone_IDforWindowsID_basic2.phpt index 2929fb9c10..4c3023a856 100644 --- a/ext/intl/tests/timezone_IDforWindowsID_basic2.phpt +++ b/ext/intl/tests/timezone_IDforWindowsID_basic2.phpt @@ -4,8 +4,7 @@ IntlTimeZone::getIDForWindowsID basic test <?php if (!extension_loaded('intl')) die('skip intl extension not enabled'); ?> -<?php if (version_compare(INTL_ICU_VERSION, '52') < 0) die('skip for ICU >= 52'); ?> -<?php if (version_compare(INTL_ICU_VERSION, '57.1') < 0) die('skip for ICU >= 58.1'); ?> +<?php if (version_compare(INTL_ICU_VERSION, '58.1') >= 0) die('skip for ICU <= 57.1'); ?> --FILE-- <?php |