diff options
author | Anatol Belski <ab@php.net> | 2018-10-20 23:04:15 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2018-10-20 23:04:15 +0200 |
commit | ba43d5acef80b19dfe4a7a7cfc4144e748912f0d (patch) | |
tree | e5baeb5c1ca8692df2058bad47262c3ffd5a792e /ext/intl | |
parent | 3b8be227bd070da0acffdae9a3bd8043c08ec2d3 (diff) | |
parent | 4461fb9c26463e4851f7181baa2ba137c6edb1b2 (diff) | |
download | php-git-ba43d5acef80b19dfe4a7a7cfc4144e748912f0d.tar.gz |
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fix tests for ICU 63.1
Diffstat (limited to 'ext/intl')
-rw-r--r-- | ext/intl/tests/formatter_format8.phpt | 14 | ||||
-rw-r--r-- | ext/intl/tests/msgfmt_bug70484.phpt | 10 |
2 files changed, 12 insertions, 12 deletions
diff --git a/ext/intl/tests/formatter_format8.phpt b/ext/intl/tests/formatter_format8.phpt index 55b10ffdfc..3aad6bced1 100644 --- a/ext/intl/tests/formatter_format8.phpt +++ b/ext/intl/tests/formatter_format8.phpt @@ -107,20 +107,20 @@ Locale is: de Locale is: fr '1234567.8912345\d+' -'1 234 567,891' -'1 234 567,89 XXX' -'123 456 789 ?%' +'1.+234.+567,891' +'1.+234.+567,89.+(XXX|¤)' +'123.+456.+789(.+)?%' '1.2345678912345\d+E6' 'un million deux cent trente-quatre mille cinq cent soixante-sept virgule huit neuf un deux trois quatre cinq( six)? sept( neuf)?' -'1 234 567e' -'1 234 567' +'1.+234.+567e' +'1.+234.+567' '#####.###' -'1 234 567,89 XXX' +'1.+234.+567,89.+XXX' Locale is: en_UK '1234567.8912345\d+' '1,234,567.891' -'XXX 1,234,567.89' +'(¤|XXX )1,234,567.89' '123,456,789%' '1.2345678912345\d+E6' 'one million,? two hundred (and )?thirty-four thousand,? five hundred (and )?sixty-seven point eight nine one two three four five( six)? seven( nine)?' diff --git a/ext/intl/tests/msgfmt_bug70484.phpt b/ext/intl/tests/msgfmt_bug70484.phpt index 9d0bdc4ee8..1240498264 100644 --- a/ext/intl/tests/msgfmt_bug70484.phpt +++ b/ext/intl/tests/msgfmt_bug70484.phpt @@ -37,7 +37,7 @@ foreach ($locale as $lc) { ?> ==DONE== ---EXPECT-- +--EXPECTF-- de string key string(8) "42-other" string(11) "42,42-other" @@ -55,15 +55,15 @@ string(4) "five" fr string key string(8) "42-other" string(11) "42,42-other" -string(22) "2 147 483 643-other" -string(26) "2 147 483 643,123-other" +string(%d) "2%s147%s483%s643-other" +string(%d) "2%s147%s483%s643,123-other" string(4) "five" fr numeric key string(8) "42-other" string(11) "42,42-other" -string(22) "2 147 483 643-other" -string(26) "2 147 483 643,123-other" +string(%d) "2%s147%s483%s643-other" +string(%d) "2%s147%s483%s643,123-other" string(4) "five" en string key |