aboutsummaryrefslogtreecommitdiffstats
path: root/community/php7/fix-tests-icu.patch
blob: c2159b892371803a5e7c25385329af506390297d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
diff --git b/ext/intl/tests/locale_filter_matches3.phpt a/ext/intl/tests/locale_filter_matches3.phpt
index 2816ba5e12..8c39d189eb 100644
--- b/ext/intl/tests/locale_filter_matches3.phpt
+++ a/ext/intl/tests/locale_filter_matches3.phpt
@@ -1,8 +1,8 @@
 --TEST--
-locale_filter_matches.phpt() ICU >= 51.2
+locale_filter_matches.phpt() ICU >= 51.2 && ICU < 67.1
 --SKIPIF--
 <?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
-<?php if (version_compare(INTL_ICU_VERSION, '51.2') < 0) die('skip for ICU >= 51.2'); ?>
+<?php if (version_compare(INTL_ICU_VERSION, '67.1') >= 0) die('skip for ICU < 67.1'); ?>
 --FILE--
 <?php
 
diff --git b/ext/intl/tests/locale_lookup_variant2.phpt a/ext/intl/tests/locale_lookup_variant2.phpt
index 75a5350abf..af104e1ba8 100644
--- b/ext/intl/tests/locale_lookup_variant2.phpt
+++ a/ext/intl/tests/locale_lookup_variant2.phpt
@@ -2,7 +2,7 @@
 locale_lookup.phpt()
 --SKIPIF--
 <?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
-<?php if (version_compare(INTL_ICU_VERSION, '51.2') < 0) die('skip for ICU >= 51.2'); ?>
+<?php if (version_compare(INTL_ICU_VERSION, '67.1') >= 0) die('skip for ICU < 67.1'); ?>
 --FILE--
 <?php