Skip to content

Commit a280766

Browse files
committed
php/php-src 83f9827: skip test for ICU >= 55.1, a newer test is available and passes
Apply php/php-src commit 83f9827
1 parent 0a7b1b6 commit a280766

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

ext/intl/tests/timezone_getDisplayName_variant3-49+.phpt

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
--TEST--
22
IntlTimeZone::getDisplayName(): locale parameter
33
--SKIPIF--
4-
<?php
5-
if (!extension_loaded('intl'))
6-
die('skip intl extension not enabled');
7-
if (version_compare(INTL_ICU_VERSION, '49') < 0)
8-
die('skip for ICU 49+');
4+
<?php if (!extension_loaded('intl')) die('skip intl extension not enabled'); ?>
5+
<?php if (version_compare(INTL_ICU_VERSION, '49') < 0) die('skip for ICU >= 49'); ?>
6+
<?php if (version_compare(INTL_ICU_VERSION, '55.1') >= 0) die('skip for ICU < 55.1'); ?>
97
--FILE--
108
<?php
119
ini_set("intl.error_level", E_WARNING);

0 commit comments

Comments
 (0)