Skip to content

Commit 6b85926

Browse files
committed
Fix tests, ref bug #74385
1 parent f59b201 commit 6b85926

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

ext/intl/tests/collator_create.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function ut_main()
2222
'',
2323
'root',
2424
'uk@currency=EURO',
25-
'1234567891113151719212325272931333537394143454749515357596163656769717375777981838587899193959799'
25+
'12345678911131517192123252729313335373941434547495153575961636567697173757779818385878991939597991234567891113151719212325272931333537394143454749515357596163656769717375777981838587899193959799'
2626
);
2727

2828
foreach( $locales as $locale )
@@ -79,4 +79,4 @@ Locale: 'uk@currency=EURO'
7979
ULOC_REQUESTED_LOCALE = 'uk@currency=EURO'
8080
ULOC_VALID_LOCALE = 'uk'
8181
ULOC_ACTUAL_LOCALE = 'uk'
82-
Error creating collator with '1234567891113151719212325272931333537394143454749515357596163656769717375777981838587899193959799' locale: Locale string too long, should be no longer than 80 characters: U_ILLEGAL_ARGUMENT_ERROR
82+
Error creating collator with '12345678911131517192123252729313335373941434547495153575961636567697173757779818385878991939597991234567891113151719212325272931333537394143454749515357596163656769717375777981838587899193959799' locale: Locale string too long, should be no longer than %d characters: U_ILLEGAL_ARGUMENT_ERROR

ext/intl/tests/collator_create2.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function ut_main()
2323
'',
2424
'root',
2525
'uk@currency=EURO',
26-
'1234567891113151719212325272931333537394143454749515357596163656769717375777981838587899193959799'
26+
'12345678911131517192123252729313335373941434547495153575961636567697173757779818385878991939597991234567891113151719212325272931333537394143454749515357596163656769717375777981838587899193959799'
2727
);
2828

2929
foreach( $locales as $locale )
@@ -80,4 +80,4 @@ Locale: 'uk@currency=EURO'
8080
ULOC_REQUESTED_LOCALE = 'uk@currency=EURO'
8181
ULOC_VALID_LOCALE = 'uk'
8282
ULOC_ACTUAL_LOCALE = 'uk'
83-
Error creating collator with '1234567891113151719212325272931333537394143454749515357596163656769717375777981838587899193959799' locale: Locale string too long, should be no longer than 80 characters: U_ILLEGAL_ARGUMENT_ERROR
83+
Error creating collator with '12345678911131517192123252729313335373941434547495153575961636567697173757779818385878991939597991234567891113151719212325272931333537394143454749515357596163656769717375777981838587899193959799' locale: Locale string too long, should be no longer than %d characters: U_ILLEGAL_ARGUMENT_ERROR

ext/intl/tests/collator_create3.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function ut_main()
2323
'',
2424
'root',
2525
'uk@currency=EURO',
26-
'1234567891113151719212325272931333537394143454749515357596163656769717375777981838587899193959799'
26+
'12345678911131517192123252729313335373941434547495153575961636567697173757779818385878991939597991234567891113151719212325272931333537394143454749515357596163656769717375777981838587899193959799'
2727
);
2828

2929
foreach( $locales as $locale )
@@ -80,4 +80,4 @@ Locale: 'uk@currency=EURO'
8080
ULOC_REQUESTED_LOCALE = 'uk@currency=EURO'
8181
ULOC_VALID_LOCALE = 'uk'
8282
ULOC_ACTUAL_LOCALE = 'uk'
83-
Error creating collator with '1234567891113151719212325272931333537394143454749515357596163656769717375777981838587899193959799' locale: Locale string too long, should be no longer than 80 characters: U_ILLEGAL_ARGUMENT_ERROR
83+
Error creating collator with '12345678911131517192123252729313335373941434547495153575961636567697173757779818385878991939597991234567891113151719212325272931333537394143454749515357596163656769717375777981838587899193959799' locale: Locale string too long, should be no longer than %d characters: U_ILLEGAL_ARGUMENT_ERROR

ext/intl/tests/collator_create4.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function ut_main()
2222
'',
2323
'root',
2424
'uk@currency=EURO',
25-
'1234567891113151719212325272931333537394143454749515357596163656769717375777981838587899193959799'
25+
'12345678911131517192123252729313335373941434547495153575961636567697173757779818385878991939597991234567891113151719212325272931333537394143454749515357596163656769717375777981838587899193959799'
2626
);
2727

2828
foreach( $locales as $locale )
@@ -76,4 +76,4 @@ Locale: 'uk@currency=EURO'
7676
ULOC_REQUESTED_LOCALE = 'uk@currency=EURO'
7777
ULOC_VALID_LOCALE = 'uk'
7878
ULOC_ACTUAL_LOCALE = 'uk'
79-
Error creating collator with '1234567891113151719212325272931333537394143454749515357596163656769717375777981838587899193959799' locale: Locale string too long, should be no longer than 80 characters: U_ILLEGAL_ARGUMENT_ERROR
79+
Error creating collator with '12345678911131517192123252729313335373941434547495153575961636567697173757779818385878991939597991234567891113151719212325272931333537394143454749515357596163656769717375777981838587899193959799' locale: Locale string too long, should be no longer than %d characters: U_ILLEGAL_ARGUMENT_ERROR

0 commit comments

Comments
 (0)