diff options
author | Anatol Belski <ab@php.net> | 2017-10-20 16:54:47 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2017-10-20 16:54:47 +0200 |
commit | 65d4bd03117689ce39a2c11c8a6b3dad5f72a84b (patch) | |
tree | d78144fee4d44fce13cfa5809722b9c0468cc10a /ext/intl | |
parent | ae6d877f54e98bc13b018ca0e9c6f3f7b72249eb (diff) | |
download | php-git-65d4bd03117689ce39a2c11c8a6b3dad5f72a84b.tar.gz |
Yet two wrong version checks
Diffstat (limited to 'ext/intl')
-rw-r--r-- | ext/intl/tests/timezone_IDforWindowsID_basic2.phpt | 3 | ||||
-rw-r--r-- | ext/intl/tests/timezone_windowsID_basic2.phpt | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/ext/intl/tests/timezone_IDforWindowsID_basic2.phpt b/ext/intl/tests/timezone_IDforWindowsID_basic2.phpt index 4c3023a856..1291dd98e5 100644 --- a/ext/intl/tests/timezone_IDforWindowsID_basic2.phpt +++ b/ext/intl/tests/timezone_IDforWindowsID_basic2.phpt @@ -4,7 +4,8 @@ IntlTimeZone::getIDForWindowsID basic test <?php if (!extension_loaded('intl')) die('skip intl extension not enabled'); ?> -<?php if (version_compare(INTL_ICU_VERSION, '58.1') >= 0) die('skip for ICU <= 57.1'); ?> +<?php if (version_compare(INTL_ICU_VERSION, '52') < 0) die('skip for ICU >= 52'); ?> +<?php if (version_compare(INTL_ICU_VERSION, '58.1') < 0) die('skip for ICU >= 58.1'); ?> --FILE-- <?php diff --git a/ext/intl/tests/timezone_windowsID_basic2.phpt b/ext/intl/tests/timezone_windowsID_basic2.phpt index f2540f59cb..971c439094 100644 --- a/ext/intl/tests/timezone_windowsID_basic2.phpt +++ b/ext/intl/tests/timezone_windowsID_basic2.phpt @@ -5,7 +5,7 @@ IntlTimeZone::getWindowsID 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 >= 58.1'); ?> +<?php if (version_compare(INTL_ICU_VERSION, '58.1') < 0) die('skip for ICU >= 58.1'); ?> --FILE-- <?php |