Skip to content
This repository was archived by the owner on Aug 24, 2021. It is now read-only.

Commit 63353b9

Browse files
committed
Merge branch 'PHP-7.3'
* PHP-7.3: Fix tests for ICU 63.1
2 parents 04be076 + 7f8efd9 commit 63353b9

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

ext/intl/tests/formatter_format8.phpt

+7-7
Original file line numberDiff line numberDiff line change
@@ -107,20 +107,20 @@ Locale is: de
107107

108108
Locale is: fr
109109
'1234567.8912345\d+'
110-
'1 234 567,891'
111-
'1 234 567,89 XXX'
112-
'123 456 789 ?%'
110+
'1.+234.+567,891'
111+
'1.+234.+567,89.+(XXX|¤)'
112+
'123.+456.+789(.+)?%'
113113
'1.2345678912345\d+E6'
114114
'un million deux cent trente-quatre mille cinq cent soixante-sept virgule huit neuf un deux trois quatre cinq( six)? sept( neuf)?'
115-
'1 234 567e'
116-
'1 234 567'
115+
'1.+234.+567e'
116+
'1.+234.+567'
117117
'#####.###'
118-
'1 234 567,89 XXX'
118+
'1.+234.+567,89.+XXX'
119119

120120
Locale is: en_UK
121121
'1234567.8912345\d+'
122122
'1,234,567.891'
123-
'XXX 1,234,567.89'
123+
'(¤|XXX )1,234,567.89'
124124
'123,456,789%'
125125
'1.2345678912345\d+E6'
126126
'one million,? two hundred (and )?thirty-four thousand,? five hundred (and )?sixty-seven point eight nine one two three four five( six)? seven( nine)?'

ext/intl/tests/msgfmt_bug70484.phpt

+5-5
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ foreach ($locale as $lc) {
3535

3636
?>
3737
==DONE==
38-
--EXPECT--
38+
--EXPECTF--
3939
de string key
4040
string(8) "42-other"
4141
string(11) "42,42-other"
@@ -53,15 +53,15 @@ string(4) "five"
5353
fr string key
5454
string(8) "42-other"
5555
string(11) "42,42-other"
56-
string(22) "2 147 483 643-other"
57-
string(26) "2 147 483 643,123-other"
56+
string(%d) "2%s147%s483%s643-other"
57+
string(%d) "2%s147%s483%s643,123-other"
5858
string(4) "five"
5959

6060
fr numeric key
6161
string(8) "42-other"
6262
string(11) "42,42-other"
63-
string(22) "2 147 483 643-other"
64-
string(26) "2 147 483 643,123-other"
63+
string(%d) "2%s147%s483%s643-other"
64+
string(%d) "2%s147%s483%s643,123-other"
6565
string(4) "five"
6666

6767
en string key

0 commit comments

Comments
 (0)