com php-src: Yet two wrong version checks: ext/intl/tests/timez one_IDforWindowsID_basic2.phpt ext/intl/tests/timezon e_windowsID_basic2.phpt

From: Date: Fri, 20 Oct 2017 14:54:47 +0000
Subject: com php-src: Yet two wrong version checks: ext/intl/tests/timez one_IDforWindowsID_basic2.phpt ext/intl/tests/timezon e_windowsID_basic2.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-99818@lists.php.net to get a copy of this message
Commit: 65d4bd03117689ce39a2c11c8a6b3dad5f72a84b Author: Anatol Belski <ab@php.net> Fri, 20 Oct 2017 16:54:47 +0200 Parents: ae6d877f54e98bc13b018ca0e9c6f3f7b72249eb Branches: PHP-7.1 PHP-7.2 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=65d4bd03117689ce39a2c11c8a6b3dad5f72a84b Log: Yet two wrong version checks Changed paths: M ext/intl/tests/timezone_IDforWindowsID_basic2.phpt M ext/intl/tests/timezone_windowsID_basic2.phpt Diff: diff --git a/ext/intl/tests/timezone_IDforWindowsID_basic2.phpt b/ext/intl/tests/timezone_IDforWindowsID_basic2.phpt index 4c3023a..1291dd9 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 f2540f5..971c439 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

« previous php.cvs (#99818) next »