com php-src: Fix version checks in tests: ext/intl/tests/timezo ne_IDforWindowsID_basic.phpt ext/intl/tests/timezone_ IDforWindowsID_basic2.phpt

From: Date: Fri, 20 Oct 2017 13:24:43 +0000
Subject: com php-src: Fix version checks in tests: ext/intl/tests/timezo ne_IDforWindowsID_basic.phpt ext/intl/tests/timezone_ IDforWindowsID_basic2.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-99816@lists.php.net to get a copy of this message
Commit: 2f444640b4156208994c246015f45d3cbe8828a3 Author: Anatol Belski <ab@php.net> Fri, 20 Oct 2017 15:24:43 +0200 Parents: e2afa00b4cc751588d9cb386735ae544812dc482 Branches: PHP-7.1 PHP-7.2 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2f444640b4156208994c246015f45d3cbe8828a3 Log: Fix version checks in tests Changed paths: M ext/intl/tests/timezone_IDforWindowsID_basic.phpt M ext/intl/tests/timezone_IDforWindowsID_basic2.phpt Diff: diff --git a/ext/intl/tests/timezone_IDforWindowsID_basic.phpt b/ext/intl/tests/timezone_IDforWindowsID_basic.phpt index 935a893..f8e3d33 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 2929fb9..4c3023a 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

« previous php.cvs (#99816) next »