summaryrefslogtreecommitdiff
path: root/ext/intl
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2017-10-20 16:54:47 +0200
committerAnatol Belski <ab@php.net>2017-10-20 16:54:47 +0200
commit65d4bd03117689ce39a2c11c8a6b3dad5f72a84b (patch)
treed78144fee4d44fce13cfa5809722b9c0468cc10a /ext/intl
parentae6d877f54e98bc13b018ca0e9c6f3f7b72249eb (diff)
downloadphp-git-65d4bd03117689ce39a2c11c8a6b3dad5f72a84b.tar.gz
Yet two wrong version checks
Diffstat (limited to 'ext/intl')
-rw-r--r--ext/intl/tests/timezone_IDforWindowsID_basic2.phpt3
-rw-r--r--ext/intl/tests/timezone_windowsID_basic2.phpt2
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