Skip to content

Commit

Permalink
Yet two wrong version checks
Browse files Browse the repository at this point in the history
  • Loading branch information
weltling committed Oct 20, 2017
1 parent ae6d877 commit 65d4bd0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ext/intl/tests/timezone_IDforWindowsID_basic2.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion ext/intl/tests/timezone_windowsID_basic2.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 65d4bd0

Please sign in to comment.