summaryrefslogtreecommitdiff
path: root/ext/intl/tests/breakiter_getPartsIterator_basic2.phpt
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2017-10-20 15:23:09 +0200
committerAnatol Belski <ab@php.net>2017-10-20 15:23:09 +0200
commit7240d99838113af9f8f6db21b3b57ba2a7d23a0d (patch)
tree13deee177c7fddcb03b288ace434b54612b47d66 /ext/intl/tests/breakiter_getPartsIterator_basic2.phpt
parent877e0b04bc476859e21d48ae349c2a994987fdb0 (diff)
downloadphp-git-7240d99838113af9f8f6db21b3b57ba2a7d23a0d.tar.gz
Fix version checks in tests
Diffstat (limited to 'ext/intl/tests/breakiter_getPartsIterator_basic2.phpt')
-rw-r--r--ext/intl/tests/breakiter_getPartsIterator_basic2.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/tests/breakiter_getPartsIterator_basic2.phpt b/ext/intl/tests/breakiter_getPartsIterator_basic2.phpt
index c802f963af..2bbd999904 100644
--- a/ext/intl/tests/breakiter_getPartsIterator_basic2.phpt
+++ b/ext/intl/tests/breakiter_getPartsIterator_basic2.phpt
@@ -4,7 +4,7 @@ IntlBreakIterator::getPartsIterator(): basic test, ICU >= 58.1
<?php
if (!extension_loaded('intl'))
die('skip intl extension not enabled');
-if (version_compare(INTL_ICU_VERSION, '57.1') < 0) die('skip for ICU >= 58.1');
+if (version_compare(INTL_ICU_VERSION, '57.1') <= 0) die('skip for ICU >= 58.1');
?>
--FILE--
<?php